From: Pat Notz Date: Wed, 29 Jul 2009 17:29:02 GMT Subject: Re: Output from git diff Message-ID: <1cd1989b0907291029r2efd78br3506ded03dedf438@mail.gmail.com> In-Reply-To: <873a8fflt2.fsf@krank.kagedal.org> On Wed, Jul 29, 2009 at 11:20 AM, David Kågedal wrote: > Here is another diff output question. The updated documentation in > diff-format.txt still claims that the output from the diff commands > has this format: > > :100644 100644 bcd1234... 0123456... M file0 > > This is true for "git diff --raw", but diff-tree and friends print > full 40-char hashes. > > I can get diff-tree to use abbreviated hashes with --abbrev, but how > do I tell diff to stop abbreviating? Probably not the answer you *really* want but 'git diff --raw --abbrev=40' will give you the full sha1 > > And what should the documentation really say? > > -- > David Kågedal > > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at  http://vger.kernel.org/majordomo-info.html >