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

Re: [PATCH] rebase: consistent error messages for staged and unstaged changes.

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

Junio C Hamano [off-list ref] writes:
Matthieu Moy [off-list ref] writes:
quoted
Previous version expose the output of the plumbing update-index to the
user, which novice users have difficulty to understand.
Can't -q(uiet) option of update-index be used for this?
No, since update-index -q doesn't set the exit status properly:

$ git update-index --ignore-submodules    --refresh  > /dev/null; echo $? 
1
$ git update-index --ignore-submodules -q --refresh             ; echo $?  
0

-- 
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