Re: [PATCH v2 3/3] fetch: reduce duplicate in ref update status lines
- From
Jeff King <peff@peff.net>
- Date
- Jun 3, 2016, 17:06 UTC
- Message-ID
- <20160603170621.GA3858@sigill.intra.peff.net>
- In-Reply-To
- <20160603110843.15434-4-pclouds@gmail.com>
On Fri, Jun 03, 2016 at 06:08:43PM +0700, Nguyễn Thái Ngọc Duy wrote:
> When there are lots of ref updates, each has different name length, this > will make it easier to look because the variable part is at the end.
Is it worth handling more complicated cases, where there is a similar "middle", but different beginning?
One of my common refspecs is:
+refs/pull/*/head:refs/remotes/pull/*
That still shows as:
refs/pull/123/head -> pull/123
but could be:
{refs -> }/pull/123{head -> }I actually think that _isn't_ an improvement, but I wonder if there is a format that would be.
-Peff