From: Linus Torvalds Date: Tue, 12 Feb 2008 23:53:06 GMT Subject: Re: [PATCH/RFC] diff --relative: output paths as relative to the current subdirectory Message-ID: In-Reply-To: <7vfxvx211k.fsf@gitster.siamese.dyndns.org> On Tue, 12 Feb 2008, Junio C Hamano wrote: > > Your example is shorter to type as: > > (cd drivers/scsi && git diff --relative a..b --) No it isn't. The above doesn't even work for bare repositories, or when you want to look at a branch that has a different directory structure than the currently-checked-out one. Linus