Skip to content

Commit 3c9bfb9

Browse files
committed
Update from `` to $()
1 parent ce095e3 commit 3c9bfb9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bin/git-clone-subset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@ if [[ -e .git/refs/original/ ]] ; then
147147
git "for-each-ref" --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d
148148
fi &&
149149
git reflog expire --expire=now --all &&
150-
git gc --prune=now
150+
git gc --prune=now

bin/git-delete-local-merged

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
#
66
# https://plus.google.com/115587336092124934674/posts/dXsagsvLakJ
77

8-
git branch -d `git branch --merged | grep -v '^*' | tr -d '\n'`
8+
# shellcheck disable=SC2046,SC2063
9+
exec git branch -d $(git branch --merged | grep -v '^*' | tr -d '\n')

0 commit comments

Comments
 (0)