Files
git/builtin
Elijah Newren 4ee5d50fc3 sparse-checkout: use improved unpack_trees porcelain messages
setup_unpack_trees_porcelain() provides much improved error/warning
messages; instead of a message that assumes that there is only one path
with a given problem despite being used by code that intentionally is
grouping and showing errors together, it uses a message designed to be
used with groups of paths.  For example, this transforms

    error: Entry '	folder1/a
	folder2/a
    ' not uptodate. Cannot update sparse checkout.

into

    error: Cannot update sparse checkout: the following entries are not up to date:
	folder1/a
	folder2/a

In the past the suboptimal messages were never actually triggered
because we would error out if the working directory wasn't clean before
we even called unpack_trees().  The previous commit changed that,
though, so let's use the better error messages.

Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2020-03-27 11:33:30 -07:00
..
2020-02-14 12:54:19 -08:00
2019-11-11 11:46:29 +09:00
2020-02-17 13:22:17 -08:00
2020-03-02 15:07:19 -08:00
2019-09-30 13:19:32 +09:00
2020-02-10 09:04:45 -08:00
2020-03-12 14:28:01 -07:00
2019-11-10 18:02:14 +09:00
2019-12-10 13:11:41 -08:00
2020-03-09 11:21:19 -07:00
2019-06-19 08:19:21 -07:00