Files
git/builtin
Junio C Hamano adcc94a0aa merge: allow fast-forward when merging a tracked tag
Long time ago at fab47d05 ("merge: force edit and no-ff mode when
merging a tag object", 2011-11-07), "git merge" was made to always
create a merge commit when merging a tag, even when the side branch
being merged is a descendant of the current branch.

This default is good for merges made by upstream maintainers to
integrate work signed by downstream contributors, but will leave
pointless no-ff merges when downstream contributors pull a newer
release tag to make their long-running topic branches catch up with
the upstream.  When there is no local work left on the topic, such a
merge should simply fast-forward to the commit pointed at by the
release tag.

Update the default (again) for "git merge" that merges a tag object
to (1) --no-ff (i.e. create a merge commit even when side branch
fast forwards) if the tag being merged is not at its expected place
in refs/tags/ hierarchy and (2) --ff (i.e. allow fast-forward update
when able) otherwise.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-02-16 11:22:43 -08:00
..
2017-11-27 11:06:37 +09:00
2018-01-16 12:16:54 -08:00
2017-10-06 10:07:18 +09:00
2016-11-22 13:55:20 -08:00
2017-12-27 11:16:25 -08:00
2017-06-24 14:28:41 -07:00
2018-01-23 13:16:36 -08:00
2018-02-13 13:39:04 -08:00
2017-11-18 12:31:29 +09:00
2017-10-07 16:27:55 +09:00
2018-02-13 13:39:04 -08:00
2018-02-13 13:39:03 -08:00
2017-12-08 09:52:42 -08:00
2017-09-25 15:24:07 +09:00
2018-02-13 13:39:03 -08:00
2018-01-23 13:16:37 -08:00
2017-11-21 14:07:50 +09:00
2017-06-24 14:28:41 -07:00
2017-12-27 11:16:29 -08:00
2018-02-13 13:39:06 -08:00
2017-08-26 22:55:09 -07:00
2018-02-13 13:39:03 -08:00
2017-12-13 13:28:54 -08:00
2017-12-06 09:23:44 -08:00
2017-11-18 12:31:29 +09:00
2017-12-08 09:52:42 -08:00
2017-12-27 11:16:29 -08:00
2018-02-13 13:39:04 -08:00
2017-12-13 11:15:14 -08:00
2017-08-22 10:29:03 -07:00
2017-12-27 11:16:29 -08:00
2017-11-06 14:24:27 +09:00
2017-11-21 14:07:50 +09:00
2017-06-24 14:28:41 -07:00