make update-index --chmod work with multiple files and --stdin
commit227bdb186f06fa65afb1a0e091b2b191132c29ba
authorAlex Riesen <raa.lkml@gmail.com>
Sun, 23 Apr 2006 07:01:29 +0000 (23 09:01 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 23 Apr 2006 07:47:03 +0000 (23 00:47 -0700)
tree9800c6e2ef9833007e22c692b27c80a4ad8c3f27
parente64961b0573b0e72bd55eab6d36bd97f859f9516
make update-index --chmod work with multiple files and --stdin

The patch makes "--chmod=-x" and "--chmod=+x" act like "--add"
and "--remove" to affect the behaviour of the command for the
rest of the path parameters, not just the following one.

Signed-off-by: Junio C Hamano <junkio@cox.net>
update-index.c