aboutsummaryrefslogtreecommitdiffstats
path: root/t/104-drop-works-with-branch-names-with-slashes.t
AgeCommit message (Collapse)Author
2018-04-19git-branch-list(drop): Fix deletion for branches with slashesTeddy Wing
Previously, if a branch name had slashes in it, the `drop` command would fail. This is because it used `sed` with `/` separators, and the unescaped slashes in the branch name would mess up sed's pattern. Change this to use grep instead of sed so we don't have to worry about escaping and special characters in branch names.