From: Junio C Hamano Date: Tue, 25 Jul 2006 20:34:29 GMT Subject: Re: [PATCH] Allow an alias to start with "-p" Message-ID: <7v8xmhe84q.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: >> Patch is below (wow, that +++ is kind of ugly!). > > Same here. Same here ;-). > Acked-by: Johannes Schindelin > >> @@ -289,8 +289,8 @@ int main(int argc, const char **argv, ch >> if (!strncmp(cmd, "git-", 4)) { >> cmd += 4; >> argv[0] = cmd; >> - handle_alias(&argc, &argv); >> handle_internal_command(argc, argv, envp); >> + handle_alias(&argc, &argv); >> die("cannot handle %s internally", cmd); >> } > > Alternatively, you can just delete it. IIRC we decided that aliases with > "git-" commands do not make sense. I think that is reasonable and simpler.