Re: [PATCH 4/8] rev-parse: teach "git rev-parse --symbolic" to print the full ref name
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 28, 2007, 08:24 UTC
- Message-ID
- <7v640rwst5.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <79CE31EE-0975-48EB-8B3E-FC9D6A8EB3E4@zib.de>
Steffen Prohaska <prohaska@zib.de> writes:
> So the idea of --symbolic is really to return the argv as is? > No change whatsoever allowed. Why would someone need this? > Is it only for convenience when writing shell code?
rev-parse _is_ for convenience for writing shell scripts, to sift various parameters into "rev-list arguments" and "non rev-list arguments".