[PATCH] git-diff-*: --name-only and --name-only-z.
authorJunio C Hamano <junkio@cox.net>
Wed, 13 Jul 2005 19:45:51 +0000 (12:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 13 Jul 2005 19:55:07 +0000 (12:55 -0700)
commit52f28529f4f90cebdca47f8eacbff5cb20004bed
tree5582a75c2121fca35a99eb35d9e22f97cd2ed5b3
parent8a62a3097c55b22ee4543edef10322775ef62c92
[PATCH] git-diff-*: --name-only and --name-only-z.

Porcelain layers often want to find only names of changed files,
and even with diff-raw output format they end up having to pick
out only the filename.  Support --name-only (and --name-only-z
for xargs -0 and cpio -0 users that want to treat filenames with
embedded newlines sanely) flag to help them.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff-cache.c
diff-files.c
diff-stages.c
diff-tree.c
diff.c
diff.h