diff options
| author | Teddy Wing | 2018-04-19 23:08:09 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2018-04-19 23:08:09 +0200 | 
| commit | 7bb9292f60c8889b2a3529748679025d73e9d645 (patch) | |
| tree | 01422160246237352e966825acd6bed62c7a7942 /git-branch-list.bash-completion | |
| parent | 56de9223a7220f8b679c7e9c6c41d6acdb744a90 (diff) | |
| download | git-branch-list-7bb9292f60c8889b2a3529748679025d73e9d645.tar.bz2 | |
git-branch-list(drop): Support multiple branches with similar names
Previously if you had multiple branches with similar names, they could
all be deleted when deleting a single one.
For example:
    $ git branch-list
      1 a-branch-with-suffix
      2 a-branch
    $ git branch-list drop 2
    $ git branch-list
    $
Change the regex used to match branches to drop to match the whole line,
so we don't accidentally delete a branch when it has a positive partial
match.
Diffstat (limited to 'git-branch-list.bash-completion')
0 files changed, 0 insertions, 0 deletions
