diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-06-03 12:06:43 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-03 12:06:43 -0700 |
commit | b8ef69fe2e837d78250555807073b5405f7c9297 (patch) | |
tree | 944d24d1d940611d62908daf79856c90aca60b8b /builtin/merge.c | |
parent | 6779e43b0dbcaeea84319165b1f7c7480e2fe516 (diff) | |
parent | a01f7f2ba0e73ffbee0fa1ec9a5a78f276cc173d (diff) | |
download | git-b8ef69fe2e837d78250555807073b5405f7c9297.tar.gz |
Merge branch 'fc/merge-default-to-upstream'
"git merge" without argument, even when there is an upstream
defined for the current branch, refused to run until
merge.defaultToUpstream is set to true. Flip the default of that
configuration variable to true.
* fc/merge-default-to-upstream:
merge: enable defaulttoupstream by default
Diffstat (limited to 'builtin/merge.c')
-rw-r--r-- | builtin/merge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/merge.c b/builtin/merge.c index 7c9d8f2432..428ca247bd 100644 --- a/builtin/merge.c +++ b/builtin/merge.c @@ -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[] = { |