-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(branch): allow delete of current branch
Previously, any attempt to delete the current branch was forbidden. With this change, deleting the current branch is allowed, but with some additional constraints versus deleting other, non-current branches. Namely: - The current branch must have a parent branch configured (`branch.<branch>.stgit.parentbranch`). - The worktree must be clean. The parent branch of the current branch will be checked-out upon deleting the current branch.
- Loading branch information
Showing
2 changed files
with
84 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters