author | Junio C Hamano <junkio@cox.net> | |
Tue, 27 Sep 2005 01:13:08 +0000 (18:13 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 27 Sep 2005 23:59:44 +0000 (16:59 -0700) | ||
commit | ee1bec3d1001ce3d84b72be4a72694c1aef37980 | |
tree | e45d19fbe036c8d6c136b37162e44fd1654e165d | tree | snapshot |
parent | 1ddea77e449ef28d8a7c74521af21121ab01abc0 | commit | diff |
update-index: --stdin and -z
The new option --stdin reads list of paths to be updated from the
standard input. As usual, -z means the paths are terminated with NUL
characters, as opposed to LF without that option.
This is useful to use git-diff-files -z and git-ls-files -z when the
platform xargs does not support -0 option, and obviously saves one
process even when xargs can take -0.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The new option --stdin reads list of paths to be updated from the
standard input. As usual, -z means the paths are terminated with NUL
characters, as opposed to LF without that option.
This is useful to use git-diff-files -z and git-ls-files -z when the
platform xargs does not support -0 option, and obviously saves one
process even when xargs can take -0.
Signed-off-by: Junio C Hamano <junkio@cox.net>
update-index.c | diff | blob | history |