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/40bzr-rm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'commit.d/40bzr-rm') diff --git a/commit.d/40bzr-rm b/commit.d/40bzr-rm index b690acc..d908a40 100755 --- a/commit.d/40bzr-rm +++ b/commit.d/40bzr-rm @@ -1,6 +1,9 @@ #!/bin/sh set -e +IFS=' +' + if [ "$VCS" = bzr ] && [ -d .bzr ]; then for file in $(bzr deleted); do if [ ! -d "$file" ]; then -- cgit v1.2.3