author | Junio C Hamano <junkio@cox.net> | |
Wed, 13 Jul 2005 19:45:51 +0000 (12:45 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Wed, 13 Jul 2005 19:55:07 +0000 (12:55 -0700) | ||
commit | 52f28529f4f90cebdca47f8eacbff5cb20004bed | |
tree | 5582a75c2121fca35a99eb35d9e22f97cd2ed5b3 | tree | snapshot |
parent | 8a62a3097c55b22ee4543edef10322775ef62c92 | commit | diff |
[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>
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 | blob | history | |
diff-files.c | diff | blob | history | |
diff-stages.c | diff | blob | history | |
diff-tree.c | diff | blob | history | |
diff.c | diff | blob | history | |
diff.h | diff | blob | history |