Re: [PATCH v2 2/5] ls-remote: document --refs option
- From
Jeff King <peff@peff.net>
- Date
- Jan 18, 2016, 19:31 UTC
- Message-ID
- <20160118193140.GB1009@sigill.intra.peff.net>
- In-Reply-To
- <1453136238-19448-3-git-send-email-t.gummerer@gmail.com>
On Mon, Jan 18, 2016 at 05:57:15PM +0100, Thomas Gummerer wrote:
> +--refs:: > + Do not show peeled tags or pseudo-refs like HEAD or MERGE_HEAD > + in the output. > +
Minor nit: we show whatever the other side sends us, which is the refs, HEAD, and peeled tags. So mentioning MERGE_HEAD isn't wrong (if the server _did_ send it to us, we would omit it), but it is a bit misleading.
I think saying "pseudo-refs like HEAD" is OK; even though we know it is only HEAD in the current server implementation, it better describes what the client side is doing.
-Peff