Remove -rf flag from rm command in git hook
Technically the --recursive flag should be ignored for symlinks, but it nonetheless seems safer to not have the flag.
This commit is contained in:
parent
83cbf4c4ce
commit
802e57791e
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ if [ -n "$filter" ]; then
|
||||||
ln -s $GIT_DIR/ .git
|
ln -s $GIT_DIR/ .git
|
||||||
$filter
|
$filter
|
||||||
git add --all
|
git add --all
|
||||||
rm -rf .git
|
rm .git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$validation" ]; then
|
if [ -n "$validation" ]; then
|
||||||
|
|
Loading…
Reference in a new issue