merge: enable defaulttoupstream by default
There's no point in this: % git merge fatal: No commit specified and merge.defaultToUpstream not set. We know the most likely scenario is that the user wants to merge the upstream, and if not, he can set merge.defaultToUpstream to false. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
779792a5f2
commit
a01f7f2ba0
@ -63,7 +63,7 @@ static int verbosity;
|
||||
static int allow_rerere_auto;
|
||||
static int abort_current_merge;
|
||||
static int show_progress = -1;
|
||||
static int default_to_upstream;
|
||||
static int default_to_upstream = 1;
|
||||
static const char *sign_commit;
|
||||
|
||||
static struct strategy all_strategy[] = {
|
||||
|
||||
Reference in New Issue
Block a user