summaryrefslogtreecommitdiff
path: root/commit.d/40git-rm
diff options
context:
space:
mode:
Diffstat (limited to 'commit.d/40git-rm')
-rwxr-xr-xcommit.d/40git-rm3
1 files changed, 3 insertions, 0 deletions
diff --git a/commit.d/40git-rm b/commit.d/40git-rm
index acf7c37..d2c51c2 100755
--- a/commit.d/40git-rm
+++ b/commit.d/40git-rm
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+IFS='
+'
+
if [ "$VCS" = git ] && [ -d .git ]; then
for file in $(git ls-files --deleted); do
if [ ! -d "$file" ]; then