send-pack.c: move async's #ifdef NO_PTHREADS back to run-command.c
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index 5920f8019bb3b26db0c7c50f9ea02f8ff96230e8..adac132956e995e2dfe050b0f709ff9aaa9c7673 100644 (file)
--- a/git.c
+++ b/git.c
@@ -318,6 +318,9 @@ static int handle_alias(int *argcp, const char ***argv)
        alias_command = (*argv)[0];
        alias_string = alias_lookup(alias_command);
        if (alias_string) {
+               if (*argcp > 1 && !strcmp((*argv)[1], "-h"))
+                       fprintf_ln(stderr, _("'%s' is aliased to '%s'"),
+                                  alias_command, alias_string);
                if (alias_string[0] == '!') {
                        struct child_process child = CHILD_PROCESS_INIT;
                        int nongit_ok;