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
310 stars 59 forks source link

amend: Force editing if inserting instead of throwing error #120

Closed jerry-skydio closed 1 year ago

jerry-skydio commented 1 year ago

If a user has configured edit=False but specifies --insert, the intention is clear enough that they do in fact want to edit. We can automatically assume this without throwing an error and forcing them to type out --edit

jerry-skydio commented 1 year ago

Reviews in this chain: └https://github.com/Skydio/revup/pull/120 amend: Force editing if inserting instead of throwing error

jerry-skydio commented 1 year ago
# head base diff date summary
0 dd2402e2 62448640 diff Jul 18 19:31 PM 1 file changed, 1 insertion(+), 2 deletions(-)
1 11455bc0 161e9b77 diff Jul 27 13:33 PM 1 file changed, 2 insertions(+), 2 deletions(-)
jerry-skydio commented 1 year ago

good poing