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

Re: [PATCH 3/3] Move "show_all_errors = 1" to setup_unpack_trees_porcelain()

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:28

Matthieu Moy [off-list ref] writes:
Not only this makes the code clearer since setting up the porcelain error
message is meant to work with show_all_errors, but this fixes a call to
setup_unpack_trees_porcelain() in git_merge_trees() which did not set
show_all_errors.

add_rejected_path() used to double-check whether it was running in
plumbing mode. This check was inefficient since it was setting
show_all_errors too late for traverse_trees() to see it, and is made
useless by this patch. Remove it.
Do you mean inefficient or ineffective?

The code in this patch looks fine, though.

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