Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-04-03 00:09:21 +0400
committerJunio C Hamano <gitster@pobox.com>2012-04-03 00:11:49 +0400
commitd82829b6128263951569221ca0c00dd143da055c (patch)
tree3d24c2c1be3a76cc7574cd5f65732cd3ac9c3450 /builtin/merge.c
parent02f419efcbda05f9923306ae1fcdd754187563fa (diff)
parentcb2ed324fc917db0b79d7b1f3756575ffa5f70d5 (diff)
Sync with 1.7.9.6
Diffstat (limited to 'builtin/merge.c')
-rw-r--r--builtin/merge.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/builtin/merge.c b/builtin/merge.c
index cb8f14910b..08e01e8a60 100644
--- a/builtin/merge.c
+++ b/builtin/merge.c
@@ -1325,11 +1325,8 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
if (!fast_forward_only &&
merge_remote_util(commit) &&
merge_remote_util(commit)->obj &&
- merge_remote_util(commit)->obj->type == OBJ_TAG) {
- if (option_edit < 0)
- option_edit = 1;
+ merge_remote_util(commit)->obj->type == OBJ_TAG)
allow_fast_forward = 0;
- }
}
if (option_edit < 0)