summaryrefslogtreecommitdiff
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
parent0026d5484158ee093da5ab302ee794ec1931303f (diff)
parente20ce6ac762589868e46603ee1223f2f852c4403 (diff)
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