ejoffe / spr

Stacked Pull Requests on GitHub
MIT License
796 stars 68 forks source link

FR: yml for "only merge one at a time" #231

Closed dhalperi closed 2 years ago

dhalperi commented 2 years ago

Basically, I'd like my default to be always --upto <bottom of stack>. Would be nice if this was available as an option in yml, as actually generating that command takes work.

Would be happy to work on/send a PR if that is something you'd be interested in.

ejoffe commented 2 years ago

how about a flag that does this:

git spr merge --count 1
git spr merge -c 1

then you can also merge multiple prs with the same flag:

git spr merge -c 3
dhalperi commented 2 years ago

That would also be great.

ejoffe commented 2 years ago

I'm ok with either or both, I personally prefer the flag approach for this case. Pull request more than welcome!