Merge branch 'maint'

* maint:
  help.c: add a compatibility comment to cmd_version()
This commit is contained in:
Junio C Hamano
2013-04-16 15:14:44 -07:00

4
help.c
View File

@@ -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;
}