Skydio / revup

Effortlessly create and manage pull requests without changing branches. Powers a stacked diffs workflow with python and git "plumbing" commands.
https://github.com/Skydio/revup
MIT License
309 stars 59 forks source link

cherry-pick: Only fetch if remote branch doesn't exist #169

Open jerry-skydio opened 5 months ago

jerry-skydio commented 5 months ago

Cherry-pick was updated to fetch if the branch doesn't exist, but this could fetch unnecessarily if the remote branch exists locally but namespaced in the remote.

Make this more clear with 3 paths:

jerry-skydio commented 5 months ago

Reviews in this chain: └https://github.com/Skydio/revup/pull/169 cherry-pick: Only fetch if remote branch doesn't exist

jerry-skydio commented 5 months ago
# head base diff date summary
0 2262b049 c4ace457 diff Mar 13 14:51 PM 1 file changed, 15 insertions(+), 9 deletions(-)
1 5547b895 c4ace457 diff Mar 13 14:52 PM 1 file changed, 1 insertion(+), 1 deletion(-)
jerry-skydio commented 5 months ago

no :disappointed: i'll think about this some more since I agree its objectively more important to be able to pick up changes vs saving ~.5s