{"thread":{"id":"27311","subject":"Qgit should use \"git config\" instead of \"git repo-config\"","startedAt":"2011-05-09T21:15:08Z","lastAt":"2011-05-09T21:15:08Z","messageCount":1,"participants":["Jonathan Rogers"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"167521","messageId":"4DC8595C.30600@socialserve.com","threadId":"27311","inReplyTo":null,"subject":"Qgit should use \"git config\" instead of \"git repo-config\"","fromName":"Jonathan Rogers","fromEmail":"jrogers@socialserve.com","sentAt":"2011-05-09T21:15:08Z","receivedAt":"2011-05-09T21:15:08Z","isPatch":false,"sender":{"key":"jrogers@socialserve.com","avatar":null},"body":"Here's a small patch to cause qgit to use \"git config\" instead of \"git \nrepo-config\" in a couple of places.\n\n-- \nJonathan Ross Rogers\n\n\n\ndiff --git a/src/git.cpp b/src/git.cpp\nindex 50e6dd3..8e9365c 100644\n--- a/src/git.cpp\n+++ b/src/git.cpp\n@@ -427,7 +427,7 @@ void Git::setTextCodec(QTextCodec* tc) {\n \tif (name == \"Big5-HKSCS\")\n \t\tname = \"Big5\";\n \n-\trun(\"git repo-config i18n.commitencoding \" + name);\n+\trun(\"git config i18n.commitencoding \" + name);\n }\n \n QTextCodec* Git::getTextCodec(bool* isGitArchive) {\n@@ -437,7 +437,7 @@ QTextCodec* Git::getTextCodec(bool* isGitArchive) {\n \t\treturn NULL;\n \n \tQString runOutput;\n-\tif (!run(\"git repo-config --get i18n.commitencoding\", &runOutput))\n+\tif (!run(\"git config --get i18n.commitencoding\", &runOutput))\n \t\treturn NULL;\n \n \tif (runOutput.isEmpty()) // git docs says default is utf-8\n"}]}