From: Daniel Barkalow Date: Sat, 27 Oct 2007 21:53:10 GMT Subject: Re: [PATCH 4/8] rev-parse: teach "git rev-parse --symbolic" to print the full ref name Message-ID: In-Reply-To: <11935038083369-git-send-email-prohaska@zib.de> 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*