summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.7.6.4.txt
diff options
context:
space:
mode:
authorLibravatar Miklos Vajna <vmiklos@suse.cz>2013-07-02 16:47:57 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-02 13:08:42 -0700
commita54841e96b78203598dea6b31b9618f40f107e7b (patch)
tree76465742ce499ceed97377fe792e881e0a5da1bb /Documentation/RelNotes/1.7.6.4.txt
parentMerge branch 'maint' (diff)
downloadtgif-a54841e96b78203598dea6b31b9618f40f107e7b.tar.xz
merge: handle --ff/--no-ff/--ff-only as a tri-state option
These three options mean "favor fast-forwarding when possible, without creating an unnecessary merge", "never fast-forward and always create a merge commit even when the commit being merged is a strict descendant", and "we do not want to create any merge commit; update only when the merged commit is a strict descendant". They are "pick one out of these three possibilities" options, and correspond to "merge.ff" configuration that is tri-state (yes, no and only). However, the implementation did not follow the usual convention for the command line options (later one wins, and command line overrides what is in the configuration). Fix this by consolidating two variables (fast_forward_only and allow_fast_forward) used in the implementation into one enum that can take one of the three possible values. Signed-off-by: Miklos Vajna <vmiklos@suse.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.6.4.txt')
0 files changed, 0 insertions, 0 deletions