Skip to contentSkip to conversation

Qgit should use "git config" instead of "git repo-config"

PATCH Jonathan Rogers 4 participants 7 messages Jun 15, 2016 5 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Here's a small patch to cause qgit to use "git config" instead of "git repo-config" in a couple of places.

Signature · 1 line
Jonathan Ross Rogers
src/git.cpp +2 -2
index 50e6dd3..8e9365c 100644
@@ -427,7 +427,7 @@ void Git::setTextCodec(QTextCodec* tc) {
 	if (name == "Big5-HKSCS")
 		name = "Big5";
 
-	run("git repo-config i18n.commitencoding " + name);
+	run("git config i18n.commitencoding " + name);
 }
 
 QTextCodec* Git::getTextCodec(bool* isGitArchive) {
@@ -437,7 +437,7 @@ QTextCodec* Git::getTextCodec(bool* isGitArchive) {
 		return NULL;
 
 	QString runOutput;
-	if (!run("git repo-config --get i18n.commitencoding", &runOutput))
+	if (!run("git config --get i18n.commitencoding", &runOutput))
 		return NULL;
 
 	if (runOutput.isEmpty()) // git docs says default is utf-8
#1 lore raw

Hi Jonathan,

Quoted 2 lines · Jonathan Rogers

Here's a small patch to cause qgit to use "git config" instead of "git repo-config" in a couple of places.

Thanks! I noticed you also submitted this at [1].

Looking at the qgit source[2] I don't see an address to send patches to; cc-ing Marco for advice.

Hope that helps,
Jonathan

[1] http://sourceforge.net/tracker/index.php?func=detail&aid=3299672&group_id=139897&atid=744829
[2] http://git.kernel.org/?p=qgit/qgit4.git

#2 lore raw
Quoted 10 lines · Jonathan Nieder

Hi Jonathan,

Quoted 2 lines · Jonathan Rogers

Here's a small patch to cause qgit to use "git config" instead of "git repo-config" in a couple of places.

Thanks! I noticed you also submitted this at [1].

Looking at the qgit source[2] I don't see an address to send patches to; cc-ing Marco for advice.

Yes, this list is the only address listed in the docs that I found. It looks like some patches have been accepted on the SourceForge project have been accepted, but I'm not sure if that's the preferred location. Thanks for the help.

Quoted 5 lines

Hope that helps,
Jonathan

[1] http://sourceforge.net/tracker/index.php?func=detail&aid=3299672&group_id=139897&atid=744829
[2] http://git.kernel.org/?p=qgit/qgit4.git

Signature · 1 line
Jonathan Ross Rogers
#5 lore raw
In reply to Jonathan Rogers
Quoted 3 lines · Jonathan Rogers

Here's a small patch to cause qgit to use "git config" instead of "git repo-config" in a couple of places.

Please, read Documentation/SubmittingPatches for a guide about how to submit a patch to this list.

Thanks,

Best regards!

Quoted 5 lines

--
Jonathan Ross Rogers

#11 lore raw
In reply to a message not in the archive

Please, don't forget to +cc the mailing list!

Quoted 7 lines · Jonathan Rogers
Quoted 3 lines · Thiago Farina

I think what he means by "Bugs or feature requests should be sent to the [email protected] mailing list." is?

I don't understand the question.

Quoted 1 line

Ops, not a question. s/?/:

Quoted 12 lines
Quoted 7 lines

Reporting bugs on git goes to this mailing list. If you have a suggestion that you would wanted to see on the git core you could try to send to this mailing list.

He doesn't say that bug fixes and improvements to the source code of qgit4 should be send to this mailing list. Patches sent here are for the git source code at all if I'm not wrong.

Since the README and author clearly state that the [email protected] is the preferred place to discuss qgit, it's not clear to me where else is an appropriate place to send the patch.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Maybe there is another list for qgit4?

If there is, please share it with me.

Maybe try to send a pull request on github or an email to the author?

I also sent the patch to the author. The repository is on git.kernel.org, so I'm not sure how github would be involved.

I just saw this at: https://github.com/kaitanie/qgit4/

Quoted 6 lines

<URL:http://git.kernel.org/?p=qgit/qgit4.git;a=summary>

--
Jonathan Ross Rogers

#3 lore raw
In reply to Jonathan Nieder
Quoted 9 lines · Jonathan Nieder

Hi Jonathan,

Quoted 2 lines · Jonathan Rogers

Here's a small patch to cause qgit to use "git config" instead of "git repo-config" in a couple of places.

Thanks!  I noticed you also submitted this at [1].

Quoted 9 lines

Looking at the qgit source[2] I don't see an address to send patches to; cc-ing Marco for advice.

Hope that helps,
Jonathan

[1] http://sourceforge.net/tracker/index.php?func=detail&aid=3299672&group_id=139897&atid=744829
[2] http://git.kernel.org/?p=qgit/qgit4.git

Hi Jonathan,

thanks for the patch, please send to git list (if other people
don't mind), I more or less routinely read the list. I really should do at least some maintenance work on qgit that has gone vastly bitrotten in the past months.....

Marco

#4 lore raw
Quoted 4 lines · Marco Costalba

thanks for the patch, please send to git list (if other people
don't mind), I more or less routinely read the list. I really should do at least some maintenance work on qgit that has gone vastly bitrotten in the past months.....

Thanks. I don't know how I managed to miss that when skimming the README.

-- >8 --
Subject: Emphasize that patches go to the git list

So now even people with poor reading comprehension ability and search engines can tell where to send qgit improvements.

---
 README |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
README +1 -1
index d1989ca..b07c463 100644
@@ -4,7 +4,7 @@ qgit, a git GUI viewer
 With qgit you will be able to browse revisions history, view patch content
 and changed files, graphically following different development branches.
 
-Bugs or feature requests should be sent to the [email protected]
+Bugs, patches, and feature requests should be sent to the [email protected]
 mailing list.
 
 Main features
Signature · 1 line
1.7.5.1