Re: [PATCH 4/8] rev-parse: teach "git rev-parse --symbolic" to print the full ref name

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

 



On Sat, 27 Oct 2007, Steffen Prohaska wrote:

> "git rev-parse --symbolic" used to return the ref name as it was
> specified on the command line. This is changed to returning the
> full matched ref name, i.e. "git rev-parse --symbolic master"
> now typically returns "refs/heads/master".
> 
> Note, this changes output of an established command. It might
> break existing setups. I checked that it does not break scripts
> in git.git.

I think this makes the --create option to push unnecessary, as interactive 
users could use a suggested explicit value (or whatever they actually 
meant), while scripts could replace $name with $(git rev-parse --symbolic 
$name) as easily as they could add --create, and by more explicit as to 
what they're doing.

	-Daniel
*This .sig left intentionally blank*
-
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