Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144287777
D9861.id25877.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D9861.id25877.diff
View Options
Index: devel/qgit/files/patch-src_git.cpp
===================================================================
--- /dev/null
+++ devel/qgit/files/patch-src_git.cpp
@@ -0,0 +1,24 @@
+repo-config was aliased to config as of git 1.7 (2010)
+and was removed, it seems, in 1.8.5 (2012). None of those
+git versions are still supported upstream; switch to git config.
+
+--- src/git.cpp.orig 2009-03-12 17:14:31 UTC
++++ src/git.cpp
+@@ -425,7 +425,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) {
+@@ -435,7 +435,7 @@ QTextCodec* Git::getTextCodec(bool* isGi
+ 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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 4:08 PM (10 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28471046
Default Alt Text
D9861.id25877.diff (1 KB)
Attached To
Mode
D9861: Replace deprecated git repo-config
Attached
Detach File
Event Timeline
Log In to Comment