Thread (13 messages) flat view 13 messages, 4 authors, 2016-06-15

Re: [PATCH 2/2] builtin-merge: avoid run_command_v_opt() for recursive

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:08

Miklos Vajna [off-list ref] writes:
The try_merge_strategy() function always ran the strategy in a separate
process, though this is not always necessary. The recursive strategy can
be called without a fork(). This patch adds a check, and calls recursive
in the same process without wasting resources.
Yes, it saves a fork, but is this really worth it in the bigger picture?

Doesn't the current code structure have benefit of allowing git-merge
itself do necessary clean-up action when merge-recursive calls any of the
die() it has in many places?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help