gitext-rs / git-stack

Stacked branch management for Git
Apache License 2.0
496 stars 19 forks source link

fix: Always protect foreign branches #234

Closed epage closed 2 years ago

epage commented 2 years ago

Before, we auto-protected and trimmed all foreign or old branches, unless they are the HEAD. Context-specific behavior though can be confusing (especially when people are frequently pulling other people's branches for read-only purposes like reviewing).

Now, we unconditionally protect all foreign branches.

Next steps

Fixes #232