tummychow / git-absorb

git commit --fixup, but automatic
https://crates.io/crates/git-absorb
BSD 3-Clause "New" or "Revised" License
3.35k stars 59 forks source link

0.6.9: add [--and-rebase] --autostash? #79

Closed lkraav closed 1 year ago

lkraav commented 1 year ago

This could run git stash --keep-index for us automatically?

tummychow commented 1 year ago

well in theory, we could jam almost all of the git rebase flags into git absorb --and-rebase, but that would be a massive explosion of cli complexity. i'm going to make the completely arbitrary decision to not add any of them, sorry. --and-rebase is a shortcut, we can't reasonably support every configuration of rebase - and i have no way to make a principled decision of which ones we should and shouldn't include.

lkraav commented 1 year ago

well in theory, we could jam almost all of the git rebase flags into git absorb --and-rebase

Sure we could.

It just has been that for months, the only flags I would use are --autostash --autosquash. Everything else is pretty much an edge case. I would still propose there's a fat head long tail use case scenario here.