# git-log output changed from 1.4.0 -> 1.4.1?

4 messages from 2006-07-06 to 2006-07-06. Participants: Robin Luckey, Johannes Schindelin, Junio C Hamano.
Thread: https://gitlist.dev/t/4789

## Robin Luckey, 2006-07-06 21:51

Subject: git-log output changed from 1.4.0 -> 1.4.1?
Message-ID: <761519800607061451n9473ad4oa9e2781517ca9389@mail.gmail.com>
URL: https://gitlist.dev/e/761519800607061451n9473ad4oa9e2781517ca9389%40mail.gmail.com

```
We use a custom script to generate reports based on the git-log
output. However, it appears that the output of git-log has changed in
1.4.1, and I have been unable to discover a set of flags to recreate
the log format to which I have become accustomed.

In git 1.4.0, the following command...

git log -r --root --abbrev=40 master

...would generate log entries like this...

commit 8db998464a3cc7f41728ac8bb59aee0f62e14aa8
Author: someone <someone>
Date:   Sun Aug 29 09:44:49 2004 +0000

    A comment goes here.

:100755 000000 56f5eb6c914c7ff6706dc3f8736a77d155cad93f
0000000000000000000000000000000000000000 D someapp/file1.c
:100755 000000 d7e0277fe15bfc11f75cbc535ecf1c5ee3d79baf
0000000000000000000000000000000000000000 D someapp/file2.c

Is there a way to generate this same format with git 1.4.1?

Thanks,
Robin

```

## Johannes Schindelin, 2006-07-06 21:56

Subject: Re: git-log output changed from 1.4.0 -> 1.4.1?
Message-ID: <Pine.LNX.4.63.0607062355390.29667@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0607062355390.29667%40wbgn013.biozentrum.uni-wuerzburg.de
In-Reply-To: <761519800607061451n9473ad4oa9e2781517ca9389@mail.gmail.com>

```
Hi,

On Thu, 6 Jul 2006, Robin Luckey wrote:

> In git 1.4.0, the following command...
> 
> git log -r --root --abbrev=40 master
> 
> ...would generate log entries like this...
> 
> commit 8db998464a3cc7f41728ac8bb59aee0f62e14aa8
> Author: someone <someone>
> Date:   Sun Aug 29 09:44:49 2004 +0000
> 
>    A comment goes here.
> 
> :100755 000000 56f5eb6c914c7ff6706dc3f8736a77d155cad93f
> 0000000000000000000000000000000000000000 D someapp/file1.c
> :100755 000000 d7e0277fe15bfc11f75cbc535ecf1c5ee3d79baf
> 0000000000000000000000000000000000000000 D someapp/file2.c
> 
> Is there a way to generate this same format with git 1.4.1?

I do not know about git 1.4.1, but with 'next' you can just add '--raw' to 
the command line, and it works.

Hth,
Dscho

```

## Junio C Hamano, 2006-07-06 21:58

Subject: Re: git-log output changed from 1.4.0 -> 1.4.1?
Message-ID: <7vlkr65rbo.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vlkr65rbo.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <761519800607061451n9473ad4oa9e2781517ca9389@mail.gmail.com>

```
"Robin Luckey" <robinluckey@gmail.com> writes:

> In git 1.4.0, the following command...
>
> git log -r --root --abbrev=40 master

After Timo's diff options rewrite, -r does not seem to
automatically imply diff output anymore.  I personally think it
should.

In the meantime, "git log --raw -r ..." would give you want you
want, I think.

```

## Robin Luckey, 2006-07-06 22:09

Subject: Re: Re: git-log output changed from 1.4.0 -> 1.4.1?
Message-ID: <761519800607061509j32275d4cjf270213cd9814dd9@mail.gmail.com>
URL: https://gitlist.dev/e/761519800607061509j32275d4cjf270213cd9814dd9%40mail.gmail.com
In-Reply-To: <7vlkr65rbo.fsf@assigned-by-dhcp.cox.net>

```
> In the meantime, "git log --raw -r ..." would give you want you
> want, I think.

This did the trick! Thanks for the quick responses.

Robin

```
