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
|
||||
$filter
|
||||
git add --all
|
||||
rm -rf .git
|
||||
rm .git
|
||||
fi
|
||||
|
||||
if [ -n "$validation" ]; then
|
||||
|
|
Loading…
Reference in a new issue