Files
git/Documentation
Nguyễn Thái Ngọc Duy bc437d1020 fetch: reduce duplicate in ref update status lines with placeholder
In the "remote -> local" line, if either ref is a substring of the
other, the common part in the other string is replaced with "*". For
example

    abc                -> origin/abc
    refs/pull/123/head -> pull/123

become

    abc         -> origin/*
    refs/*/head -> pull/123

Activated with fetch.output=compact.

For the record, this output is not perfect. A single giant ref can
push all refs very far to the right and likely be wrapped around. We
may have a few options:

 - exclude these long lines smarter

 - break the line after "->", exclude it from column width calculation

 - implement a new format, { -> origin/}foo, which makes the problem
   go away at the cost of a bit harder to read

 - reverse all the arrows so we have "* <- looong-ref", again still
   hard to read.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-07-06 11:48:25 -07:00
..
2016-02-24 13:25:54 -08:00
2014-11-04 13:14:44 -08:00
2016-03-03 13:43:36 -08:00
2016-04-06 11:39:05 -07:00
2015-07-21 14:08:14 -07:00
2015-10-05 12:30:13 -07:00
2013-10-18 13:50:12 -07:00
2016-06-13 10:42:13 -07:00
2016-05-31 11:42:30 -07:00
2016-03-03 13:43:36 -08:00