Skip to content

Commit 68ddd0b

Browse files
committed
Disable erroneous lint error in git-purge-from-history
1 parent c2af5d0 commit 68ddd0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/git-purge-from-history

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ if [[ ! -d .git ]]; then
2121
fi
2222

2323
# remove all paths passed as arguments from the history of the repo
24+
# shellcheck disable=SC2124
2425
files=$@
2526
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch $files" HEAD
2627

0 commit comments

Comments
 (0)