git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git log --pretty=format:%h prints (unrequired) abbreviated sha

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Sep 25, 2009, 10:44 UTC
Message-ID
<e5bfff550909250344y535a05edx7d30ad7e48a5f036@mail.gmail.com>
In-Reply-To
<4ABC9C5D.5030202@viscovery.net>
On Fri, Sep 25, 2009 at 11:33, Johannes Sixt <j.sixt@viscovery.net> wrote:
Show 17 quoted lines
> Marco Costalba schrieb:
>> On Fri, Sep 25, 2009 at 10:40, Marco Costalba <mcostalba@gmail.com> wrote:
>>> and now
>>>
>>> git log --pretty=format:%h
>>>
>>
>> Sorry, the correct command is:
>>
>> git log --pretty=format:%H
>>
>> but output is still abbreviated.
>
> Doesn't happen here. %h produces abbreviated SHA1s and %H full SHA1s.
> However, I don't run msysgit, but compile git myself. I run the commands
> from CMD.
>

What (old) version of msgit do you suggest me to try to verify if it is a new problem ?

BTW gitk does not work correctly. It loads the revisions but doesn't show the diffs.

Previous: Johannes SixtNext: Marco Costalba
Message 4 of 19 in “git log --pretty=format:%h prints (unrequired) abbreviated sha”
  1. Marco CostalbaSep 25, 2009
  2. Marco CostalbaSep 25, 2009
  3. Johannes SixtSep 25, 2009
  4. Marco CostalbaSep 25, 2009
  5. Marco CostalbaSep 25, 2009
  6. Marco CostalbaSep 25, 2009
  7. Johannes SixtSep 25, 2009
  8. Marco CostalbaSep 25, 2009
  9. Johannes SixtSep 25, 2009
  10. Marco CostalbaSep 25, 2009
  11. alexandrulSep 25, 2009
  12. Marco CostalbaSep 25, 2009
  13. Marco CostalbaSep 25, 2009
  14. alexandrulSep 25, 2009
  15. Marco CostalbaSep 25, 2009
  16. alexandrulSep 25, 2009
  17. Marco CostalbaSep 25, 2009
  18. Marco CostalbaSep 26, 2009
  19. alexandrulSep 27, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.