From: Junio C Hamano Date: Tue, 03 Mar 2015 21:26:57 GMT Subject: Re: [PATCHv2 2/2] commit/status: show the index-worktree diff with -v -v Message-ID: In-Reply-To: <33591b47a7ea8cfa23a3bee05fbf8c0ce4a00b3d.1425390756.git.git@drmicha.warpmail.net> Michael J Gruber writes: > +diff --git INDEX=staged-for-commit/dir1/modified WORKTREE=not-staged-for-commit/dir1/modified > +index e69de29..d00491f 100644 > +--- INDEX=staged-for-commit/dir1/modified > ++++ WORKTREE=not-staged-for-commit/dir1/modified This might be OK for a project like Git itself, but I suspect people with long pathnames (like, eh, those in Java land) would not appreciate it. Wouldn't mnemonic prefix, which the users are already familiar with, be the most suitable tool for this disambiguation? After all that was what it was invented for 8 years ago.