From: Junio C Hamano Date: Tue, 27 Feb 2018 19:15:12 +0000 (-0800) Subject: Merge branch 'jc/allow-ff-merging-kept-tags' into next X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8b03610d2b82f1490345f560d5810a0f9a9ff54c Merge branch 'jc/allow-ff-merging-kept-tags' into next Since Git 1.7.9, "git merge" defaulted to --no-ff (i.e. even when the side branch being merged is a descendant of the current commit, create a merge commit instead of fast-forwarding) when merging a tag object. This was appropriate default for integrators who pull signed tags from their downstream contributors, but caused an unnecessary merges when used by downstream contributors who habitually "catch up" their topic branches with tagged releases from the upstream. Update "git merge" to default to --no-ff only when merging a tag object that does *not* sit at its usual place in refs/tags/ hierarchy, and allow fast-forwarding otherwise, to mitigate the problem. * jc/allow-ff-merging-kept-tags: merge: allow fast-forward when merging a tracked tag --- 8b03610d2b82f1490345f560d5810a0f9a9ff54c