Re: git 'new' alias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thiago Farina <tfransosi@xxxxxxxxx> 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/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]