Merge branch 'ks/help-alias-label' into next
authorJunio C Hamano <gitster@pobox.com>
Tue, 19 Sep 2017 03:52:27 +0000 (12:52 +0900)
committerJunio 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
index b3f60a8f30b39e9731fcde08600c900b2f772acb..d3c8fc40820faa10f7c9004560159986b2900e9e 100644 (file)
@@ -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);
        }