Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 2/2 (v2)] reset: make the output more user-friendly.

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:47:12

Junio C Hamano [off-list ref] writes:
Matthieu Moy [off-list ref] writes:
quoted
 cat > expect << EOF
-file2: locally modified
+Unstaged changes after reset:
+M	file2
It simply feels backwards when plumbing output says something in human
language (e.g. "needs update") while Porcelain output spits out a cryptic
M or U.  If the goal is human-readability and user-friendliness,
The goal here is just consistency.

And I do consider 'git diff --name-status' as porcelain.
shouldn't we rather say:

	Path with local modifications:
        	file2

or something?
Why not, but if we do, we should also remove this "M" from other
places. It was already there in one error message given by 'git
rebase' in a non-clean tree (and you just accepted a patch giving the
same output for another one).

-- 
Matthieu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help