Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 16 Apr 2013 22:14:44 +0000
(15:14 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 16 Apr 2013 22:14:44 +0000
(15:14 -0700)
* maint:
help.c: add a compatibility comment to cmd_version()
help.c
patch
|
blob
|
history
raw
(from parent 1:
95f31e9
)
diff --git
a/help.c
b/help.c
index 1dfa0b05827e6e75dc463092b2838cd1c991623c..02ba043319932411e90121d4147f25395782dfb5 100644
(file)
--- a/
help.c
+++ b/
help.c
@@
-397,6
+397,10
@@
const char *help_unknown_cmd(const char *cmd)
int cmd_version(int argc, const char **argv, const char *prefix)
{
+ /*
+ * The format of this string should be kept stable for compatibility
+ * with external projects that rely on the output of "git version".
+ */
printf("git version %s\n", git_version_string);
return 0;
}