Re: Output from git diff
- From
Pat Notz <patnotz@gmail.com>
- Date
- Jul 29, 2009, 17:29 UTC
- 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<davidk@lysator.liu.se> wrote:
Show 11 quoted lines
> 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
Show 11 quoted lines
> > 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 >