4 ms·
umm... but why can't you just create a new branch, cherry-pick all the relevant commit then diff the result with the "base"?
by _ZeD_ 6y ago
umm... but why can't you just create a new branch, cherry-pick all the relevant commit then diff the result with the "base"?
- gberger 6y agoWhat do you do when there's conflicts?
- iforgotpassword 6y agoThen the desired diff does not exist.
- gjm11 6y agoI'd suggest: Because creating a new branch just for a one-off look at some diffs seems kinda heavyweight, and because it requires several separate operations in order to do a single thing.
- _ZeD_ 6y agobranch in git are not really heavyweight, look at for example at mercurial ones and why the pypy team prefer them [0] moreover I think this approach could be at least "scriptable", if not aliasable .. [0]: https://doc.pypy.org/en/latest/faq.html#why-doesn-t-pypy-use-git-and-move-to-github https://doc.pypy.org/en/latest/faq.html#why-doesn-t-pypy-use...