author | Miklos Vajna <vmiklos@frugalware.org> | |
Mon, 25 Aug 2008 14:25:57 +0000 (16:25 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 31 Aug 2008 03:46:54 +0000 (20:46 -0700) | ||
commit | 8a2fce1895c058945d8e2dbd8cb7456cc7450ad8 | |
tree | 5a5b8822510adea8f39b4f9262b58f8a70f35008 | tree | snapshot |
parent | 73118f89b81f5a3ed1bb56e2517627d56e9ebdfb | commit | diff |
merge-recursive: introduce merge_options
This makes it possible to avoid passing the labels of branches as
arguments to merge_recursive(), merge_trees() and
merge_recursive_generic().
It also takes care of subtree merge, output buffering, verbosity, and
rename limits - these were global variables till now in
merge-recursive.c.
A new function, named init_merge_options(), is introduced as well, it
clears the struct merge_info, then initializes with default values,
finally updates the default values based on the config and environment
variables.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This makes it possible to avoid passing the labels of branches as
arguments to merge_recursive(), merge_trees() and
merge_recursive_generic().
It also takes care of subtree merge, output buffering, verbosity, and
rename limits - these were global variables till now in
merge-recursive.c.
A new function, named init_merge_options(), is introduced as well, it
clears the struct merge_info, then initializes with default values,
finally updates the default values based on the config and environment
variables.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-checkout.c | diff | blob | history | |
builtin-merge-recursive.c | diff | blob | history | |
merge-recursive.c | diff | blob | history | |
merge-recursive.h | diff | blob | history |