Re: [BUG] git diff --(src|dst)-prefix=// causes spurious "(new|deleted) file mode"

2014-05-28 Thread Junio C Hamano
Noam Postavsky writes: > % git init > Initialized empty Git repository in /home/npostavs/tmp/scratch/.git/ > % echo foo > x > % git add x > % git commit -m x > [master (root-commit) 41be1f2] x > 1 file changed, 1 insertion(+) > create mode 100644 x > % echo bar > x > % git diff | head -3 > dif

[BUG] git diff --(src|dst)-prefix=// causes spurious "(new|deleted) file mode"

2014-05-27 Thread Noam Postavsky
% git init Initialized empty Git repository in /home/npostavs/tmp/scratch/.git/ % echo foo > x % git add x % git commit -m x [master (root-commit) 41be1f2] x 1 file changed, 1 insertion(+) create mode 100644 x % echo bar > x % git diff | head -3 diff --git i/x w/x index 257cc56..5716ca5 100644 -