aboutsummaryrefslogtreecommitdiffstats
path: root/git-commit-script
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-19 16:24:29 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-19 16:24:29 -0700
commit99b25f0f369470d1079a288011d9e4998553560f (patch)
tree34af46c9f82816f01b6ee211800b9d3836069b27 /git-commit-script
parentMerge with master for a couple more fixes. (diff)
parent[PATCH] Allow file removal when "git commit --all" is used. (diff)
downloadgit-99b25f0f369470d1079a288011d9e4998553560f.tar.gz
git-99b25f0f369470d1079a288011d9e4998553560f.zip
Merge with master to pick up gitk updates.
Diffstat (limited to 'git-commit-script')
-rwxr-xr-xgit-commit-script4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-commit-script b/git-commit-script
index 15d03913d5..de298b7b26 100755
--- a/git-commit-script
+++ b/git-commit-script
@@ -88,13 +88,13 @@ esac
case "$all,$#" in
t,*)
git-diff-files --name-only -z |
- xargs -0 git-update-cache -q --
+ xargs -0 git-update-cache -q --remove --
;;
,0)
;;
*)
git-diff-files --name-only -z "$@" |
- xargs -0 git-update-cache -q --
+ xargs -0 git-update-cache -q --remove --
;;
esac || exit 1
git-update-cache -q --refresh || exit 1