From: Todd A. Jacobs Date: Wed, 25 Aug 2010 02:54:35 GMT Subject: Bug report: %h for abbreviated hashes broken after 1.7.1 Message-ID: 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?