Re: [PATCH v3 0/2] diff --no-index: support symlinks and pipes

2017-03-20 Thread Junio C Hamano
Dennis Kaarsemaker writes: > On Sun, 2017-03-19 at 15:08 -0700, Junio C Hamano wrote: > ... >> > - A --derefence option was added and the default is no longer to >> > dereference >> > symlinks. >> >> I do agree that it makes sense to have --[no-]dereference options,

Re: [PATCH v3 0/2] diff --no-index: support symlinks and pipes

2017-03-20 Thread Dennis Kaarsemaker
On Sun, 2017-03-19 at 15:08 -0700, Junio C Hamano wrote: > Dennis Kaarsemaker writes: > > > Normal diff provides arguably better output: the diff of the output of the > > commands. This series makes it possible for git diff --no-index to follow > > symlinks and read from

Re: [PATCH v3 0/2] diff --no-index: support symlinks and pipes

2017-03-19 Thread Junio C Hamano
Dennis Kaarsemaker writes: > Normal diff provides arguably better output: the diff of the output of the > commands. This series makes it possible for git diff --no-index to follow > symlinks and read from pipes, mimicking the behaviour of normal diff. > > v1:

[PATCH v3 0/2] diff --no-index: support symlinks and pipes

2017-03-18 Thread Dennis Kaarsemaker
git diff <(command1) <(command2) is less useful than it could be, all it outputs is: diff --git a/dev/fd/63 b/dev/fd/62 index 9e6542b297..9f7b2c291b 12 --- a/dev/fd/63 +++ b/dev/fd/62 @@ -1 +1 @@ -pipe:[464811685] \ No newline at end of file +pipe:[464811687] \ No newline at end of file