Skip to content

Commit f601f0f

Browse files
committed
Clean up git-delete-merged-branches
* Wrap bare variable in "
1 parent 3c9bfb9 commit f601f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/git-delete-merged-branches

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ if [[ "${currentBranch}" != "${mergedInto}" ]]; then
1515
exit 1
1616
fi
1717

18-
git branch --merged ${mergedInto} | grep -v "\* ${mergedInto}" | xargs -n 1 git branch -d
18+
git branch --merged "${mergedInto}" | grep -v "\* ${mergedInto}" | xargs -n 1 git branch -d

0 commit comments

Comments
 (0)