From: Junio C Hamano Date: Mon, 24 Mar 2008 02:47:35 GMT Subject: Re: git-config: aliases with parameter expansion ($1 and such) Message-ID: <7vzlso3kjc.fsf@gitster.siamese.dyndns.org> In-Reply-To: <76718490803231854u6ee76437h5acf37b0b602f3b1@mail.gmail.com> "Jay Soffian" writes: > All my shell aliases therefor look like: > > h = "!sh -c 'git alias \"$1\" || git help \"$1\"' -" > > (Notice the trailing '-'.) Just for my curiosity, why aren't they > h = "!sh -c 'git alias \"$0\" || git help \"$0\"'" without trailing '-'?