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 | |
parent | Merge branch 'jk/external-diff-use-argv-array' (diff) | |
parent | merge: enable defaulttoupstream by default (diff) | |
download | tgif-b8ef69fe2e837d78250555807073b5405f7c9297.tar.xz |
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')
-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[] = { |