Advanced aliases with arguments (?)

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

 



Hi,

I read on http://git.or.cz/gitwiki/Aliases that

        Starting with version 1.5.3, git supports appending the
        arguments to commands prefixed with "!", too. If you need to
        perform a reordering, or to use an argument twice, you can use
        this trick:

        [alias]
                example = !sh -c "ls $1 $0"


AFAICT, it doesn't work with the 1.5.3.5 I use. Is it false advertising
or was there some regression ?

Mike
-
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]

  Powered by Linux