Actually, I'd suggest that cherry-pick takes an -o flag which turns on
the origin link. This needs to be a concious decision because one deems
the history relevant. This typically is a Good Thing when the
development has several long-term-stable branches which never get merged
with each other, yet they receive frequent backports (using cherry-pick)
between them.
Only in the case where the committer thinks the history is of interest,
and even then, since the origin link is in the header, displaying it or
not suddenly is under the control of git.
Had it been in the free-form textarea, there'd be no way suppress the
display of it.
As you might have noticed, the actual process of pulling/fetching
explicitly does *not* pull in the objects being pointed to.
That, in turn, will cause the origin link output to be automatically
suppressed. I.e. you'll never know the difference.
OTOH, if someone adds a free-form link to the commit message, you
essentially cannot hide that and are just suffering the clutter without
having any use for it.
The upsides are:
- If your repository contains the proper branches, it will show a richer
content.
- If your repository lacks the proper branches, it will show a *reduced*
clutter content (because actual free-text references in the commit
messages will decrease).
I see a lot of upsides, what were the downsides again?
--
Sincerely,
Stephen R. van den Berg.
"Be spontaneous!"
--
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