Re: git rev-list formatting

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eli Barzilay
Date: Monday, March 22, 2010 - 6:57 pm

René Scharfe <rene.scharfe@lsrfire.ath.cx> writes:


Sorry, I've lost track of all the different things I tried, but here's
something that I can reproduce reliably now, which seems to be a
similar problem (or at least nothing in the man page explain why it
would do what it does).  If this is helpful, I'll tar up the
repository and put it up somewhere.  This is all running in the repo
-- and it case it matters, it's a bare repo, created with 1.7.0.

  $ git rev-list --pretty="%b" foo

shows one "commit <sha1>" line, then the body, and then the rest of
the commits (13 of them) with no body at all (just the "commit <sha1>"
lines).

  $ git rev-list --pretty="%b" 267d60518

Same output -- 267d60518 is the commit that `foo' points to.

  $ git rev-list --pretty="%b" 84482

This is for a commit that is somewhere in the middle of these commits,
the output has *only* "commit <sha1>" lines -- no body shown.

  $ git rev-list --pretty 84482

This one works fine, showing all of the commits and their log
messages.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

--
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git rev-list formatting, Eli Barzilay, (Mon Mar 22, 4:30 am)
Re: git rev-list formatting, Eli Barzilay, (Mon Mar 22, 4:39 am)
Re: git rev-list formatting, Michael J Gruber, (Mon Mar 22, 6:08 am)
[PATCH] rev-list: heed --abbrev-commit option, Michael J Gruber, (Mon Mar 22, 6:36 am)
Re: git rev-list formatting, Eli Barzilay, (Mon Mar 22, 7:42 am)
Re: git rev-list formatting, =?ISO-8859-1?Q?Ren=E ..., (Mon Mar 22, 10:22 am)
Re: git rev-list formatting, Eli Barzilay, (Mon Mar 22, 6:57 pm)
Re: git rev-list formatting, Michael J Gruber, (Tue Mar 23, 3:52 am)
Re: git rev-list formatting, Eli Barzilay, (Tue Mar 23, 4:06 am)
Re: git rev-list formatting, Jeff King, (Tue Mar 23, 5:26 am)
Re: git rev-list formatting, Erik Faye-Lund, (Tue Mar 23, 5:40 am)
Re: git rev-list formatting, Eli Barzilay, (Tue Mar 23, 5:59 am)
Re: [PATCH] rev-list: heed --abbrev-commit option, Junio C Hamano, (Fri Mar 26, 12:32 pm)
Re: [PATCH] rev-list: heed --abbrev-commit option, Michael J Gruber, (Sat Mar 27, 6:30 am)