Re: [PATCH v2 2/2] diff --no-index: support reading from pipes

2017-01-13 Thread Junio C Hamano
Dennis Kaarsemaker writes: > + /* > + * In --no-index mode, we support reading from pipes. canon_mode, > called by > + * fill_filespec, gets confused by this and thinks we now have > subprojects. > + * Detect this and tell the rest of the diff

[PATCH v2 2/2] diff --no-index: support reading from pipes

2017-01-13 Thread Dennis Kaarsemaker
diff <(command1) <(command2) provides useful output, let's make it possible for git to do the same. Signed-off-by: Dennis Kaarsemaker --- diff-no-index.c | 8 diff.c | 13 +++-- t/t4053-diff-no-index.sh | 10 ++