From 3514e31f18ed1af7d395af0e65c3d90b0bd7305d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 5 Apr 2008 15:14:41 -0400 Subject: Add commit hook script for bzr to add new files --- commit.d/40git-rm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'commit.d/40git-rm') 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 -- cgit v1.2.3