From: Matthieu Moy Date: Thu, 01 Sep 2011 19:40:28 GMT Subject: Re: git 'new' alias Message-ID: In-Reply-To: Thiago Farina writes: > Hi, > > Could we change the 'new' alias in the wiki page, > > from: > new = !sh -c 'git log $1@{1}..$1@{0} "$@"' > > to: > new = !git log $1@{1}..$1@{0} "$@" > > ? Go on. I think I'm the one who added it, and I didn't know $1 and $@ would work without "sh -c", but I guess my version results in calling stg like sh -c "sh -c 'git log ...'" which is a bit overkill ;-). -- Matthieu Moy http://www-verimag.imag.fr/~moy/