git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug report: %h for abbreviated hashes broken after 1.7.1
@ 2010-08-25  2:54 Todd A. Jacobs
  2010-08-25  4:14 ` Jonathan Nieder
  0 siblings, 1 reply; 8+ messages in thread
From: Todd A. Jacobs @ 2010-08-25  2:54 UTC (permalink / raw)
  To: git

I have the following string in a file:

    $Format:Git ID: (%h) %ci$

which is being expanded by git-archive. In git 1.7.1, this properly expands to:

    Git ID: (58b31cf) 2010-08-24 14:00:00 -0400

but in 1.7.1.1 and 1.7.2.2 I am getting:

    Git ID: (58b31cf99592ca39b1d6b0f08f71674a7ed0ffbd) 2010-08-24 14:00:00 -0400

Checking 'man git-log' still says:

    %h: abbreviated commit hash

so this seems to be some sort of regression in how pretty formats are
being expanded. It looks like commit
35039ced9296786bc0971bf5385c0d6f6ea5ea1e was supposed to fix this, but
it apparently still isn't working in the latest tarballs available on
kernel.org.

Can someone please look into this?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-08-25 17:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-25  2:54 Bug report: %h for abbreviated hashes broken after 1.7.1 Todd A. Jacobs
2010-08-25  4:14 ` Jonathan Nieder
2010-08-25  5:07   ` Todd A. Jacobs
2010-08-25  6:16     ` Björn Steinbrink
2010-08-25  6:24     ` Jonathan Nieder
2010-08-25  7:20       ` Todd A. Jacobs
2010-08-25  8:08         ` Marcus Comstedt
2010-08-25 17:27           ` Todd Zullinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).