From: Jeff King Date: Sat, 04 Apr 2009 01:52:42 GMT Subject: Re: git diff bug? Message-ID: <20090404015242.GA13932@coredump.intra.peff.net> In-Reply-To: <20090404014527.GA13350@coredump.intra.peff.net> On Fri, Apr 03, 2009 at 09:45:27PM -0400, Jeff King wrote: > This is as designed. The original file ("git show e7dd7db") contains (my > numbering seems different than what git produces; it is produced by "nl" > which is maybe treating some line endings differently earlier in the > file): Sorry, this was just me failing to use "nl" correctly. I needed to use "-ba" to number empty lines. So the line numbers do match git, and the rest of my explanation holds. -Peff