* Junio C Hamano <gitster@pobox.com> [091130 19:19]:
I think it rather looks like this:
3---------------B
| /
| 2-------A---Y
|/ /
0---1---X
I think changing it to get this would be easy (though only in the case
where the very last commit was such an equal tree merge), but I do not
think it would be actually better:
- it is no longer possible to see the history of changes by just walking
right on every equal-tree-merge.
- commit a no longer exists. If some downstream already has
cloned/pulled, no fast-forward is possible any more.
I've considered adding a new header or only a magic description text for those
commits, but I think it is not necessary.
Because the actual programs making it useful to treat this special
(format-patch producing too many patches, rebases possibly showing conflicts
already resolved and bisect walking too many branches) will be the same when
two branches only resulting in the same tree by pure chance show up.
I think for patch 3 (format-patch) and 4 (rebase -i) it is always better to
have the new behaviour even when only hitting equal trees by chance.
I'm unsure about 5 (rebase -m), but guess it still is.
It already does always create a unique log message. So one could also
have one more strict and one less strict mode (and some option to decide
on the default).
Hochachtungsvoll,
Bernhard R. Link
--
"Never contain programs so few bugs, as when no debugging tools are available!"
Niklaus Wirth
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html