aboutsummaryrefslogtreecommitdiffstats
path: root/git-branch-list.bash-completion
diff options
context:
space:
mode:
authorTeddy Wing2018-04-19 23:44:13 +0200
committerTeddy Wing2018-04-19 23:44:13 +0200
commit3f6e62684b1fb1167435c6fa4f6c6f02aaff3937 (patch)
treef928f9fbf3cb33032477e468f3510f2f5506a170 /git-branch-list.bash-completion
parentd1617e2f29d1a8080602b60cd83ffddb01e88875 (diff)
downloadgit-branch-list-3f6e62684b1fb1167435c6fa4f6c6f02aaff3937.tar.bz2
git-branch-list(drop): Fix deletion for branches with slashes
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.
Diffstat (limited to 'git-branch-list.bash-completion')
0 files changed, 0 insertions, 0 deletions