Valid point, but consider:
The new commit to receive hash A. The diff between A~1..A and B~1..B
actually defines the relation. Revert and cherry-pick are symmetrical
operations as far as git is concerned since git tracks content.
So I'm not quite sure if we actually need this extra information, git
already knows it all.
I'd propose a cherry-pick -o and revert -o for that.
I wouldn't want to force the text which -x generates into the commit
when origin links are used.
The origin link is created point-to-point from the object referenced by
cherry-pick/revert to the new commit. The link creation specifically
does not follow any existing origin links. If you want the origin link
to point to a deeper origin behind the current, then cherry-pick from
there, no need to fake it.
That can only happen during a fetch/pull, which doesn't use origin links
to determine transmittability by default.
--
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