# git-log -p --raw broken?

3 messages from 2007-11-06 to 2007-11-06. Participants: Han-Wen Nienhuys, Linus Torvalds.
Thread: https://gitlist.dev/t/10692

## Han-Wen Nienhuys, 2007-11-06 22:48

Subject: git-log -p --raw broken?
Message-ID: <f329bf540711061448iab9d4a9q37e13b846dbc5ff1@mail.gmail.com>
URL: https://gitlist.dev/e/f329bf540711061448iab9d4a9q37e13b846dbc5ff1%40mail.gmail.com

```
Hi,

I'm trying to get a list of

  git diff-tree -t -r --raw COMMITTISH

where COMMITTISH comes from git-rev-list, using a limited number of
processes. The manual page suggests that I should be able to do

 git log -p --raw COMMIT-RANGE

however, when I try that, I get always get the same style output,
which is the (to me: useless) human readable output.

Am I missing something?
-- 
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen

```

## Han-Wen Nienhuys, 2007-11-06 23:03

Subject: Re: git-log -p --raw broken?
Message-ID: <f329bf540711061503u4f5ba006p10d4e518812ae893@mail.gmail.com>
URL: https://gitlist.dev/e/f329bf540711061503u4f5ba006p10d4e518812ae893%40mail.gmail.com
In-Reply-To: <f329bf540711061448iab9d4a9q37e13b846dbc5ff1@mail.gmail.com>

```
2007/11/6, Han-Wen Nienhuys <hanwenn@gmail.com>:

> I'm trying to get a list of
>
>   git diff-tree -t -r --raw COMMITTISH
>
> [..]

> Am I missing something?

I probably am, never mind this message.
\
-- 
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen

```

## Linus Torvalds, 2007-11-06 23:10

Subject: Re: git-log -p --raw broken?
Message-ID: <alpine.LFD.0.999.0711061508490.15101@woody.linux-foundation.org>
URL: https://gitlist.dev/e/alpine.LFD.0.999.0711061508490.15101%40woody.linux-foundation.org
In-Reply-To: <f329bf540711061448iab9d4a9q37e13b846dbc5ff1@mail.gmail.com>

```


On Tue, 6 Nov 2007, Han-Wen Nienhuys wrote:
>
> The manual page suggests that I should be able to do
> 
>  git log -p --raw COMMIT-RANGE
> 
> however, when I try that, I get always get the same style output,
> which is the (to me: useless) human readable output.
> 
> Am I missing something?

No, you're not *missing* anything. You have something *too much*.

Please remove the "-p" if you don't want a patch.

This works:

	git log --raw COMMIT-RANGE

(actually, most of the time you'd want to use "-r" too when you get raw 
output, but git log enables that by default)

			Linus

```
