Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ks/help-alias-label' into next
author
Junio C Hamano
<gitster@pobox.com>
Tue, 19 Sep 2017 03:52:27 +0000
(12:52 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 19 Sep 2017 03:52:27 +0000
(12:52 +0900)
"git help co" now says "co is aliased to ...", not "git co is".
* ks/help-alias-label:
help: change a message to be more precise
builtin/help.c
patch
|
blob
|
history
raw
(from parent 1:
95aef30
)
diff --git
a/builtin/help.c
b/builtin/help.c
index b3f60a8f30b39e9731fcde08600c900b2f772acb..d3c8fc40820faa10f7c9004560159986b2900e9e 100644
(file)
--- a/
builtin/help.c
+++ b/
builtin/help.c
@@
-441,7
+441,7
@@
static const char *check_git_cmd(const char* cmd)
alias = alias_lookup(cmd);
if (alias) {
- printf_ln(_("
`git %s' is aliased to `
%s'"), cmd, alias);
+ printf_ln(_("
'%s' is aliased to '
%s'"), cmd, alias);
free(alias);
exit(0);
}