mirror of
https://github.com/tj/git-extras.git
synced 2026-09-12 08:26:17 -04:00
Revert "git-delete-merged-branches: replace xargs -r option"
This reverts commit 0e7cba55a8.
This commit is contained in:
parent
967e339f91
commit
faf16eff5d
|
|
@ -1,7 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
branches=$(git branch --no-color --merged | grep -vE "^(\*|\+)" | grep -v "$(git_extra_default_branch)" | grep -v svn)
|
||||
if [ -n "$branches" ]
|
||||
then
|
||||
echo "$branches" | xargs -n 1 git branch -d
|
||||
fi
|
||||
git branch --no-color --merged | grep -vE "^(\*|\+)" | grep -v "$(git_extra_default_branch)" | grep -v svn | xargs -r -n 1 git branch -d
|
||||
|
|
|
|||
Loading…
Reference in a new issue