Re: git log --pretty=format:%h prints (unrequired) abbreviated sha
- From
- Marco Costalba <mcostalba@gmail.com>
- Date
- Sep 25, 2009, 11:30 UTC
- Message-ID
- <e5bfff550909250430x14b0d7f4w5e22467ddd66cc29@mail.gmail.com>
- In-Reply-To
- <e5bfff550909250344y535a05edx7d30ad7e48a5f036@mail.gmail.com>
On Fri, Sep 25, 2009 at 11:44, Marco Costalba <mcostalba@gmail.com> wrote:
Show 25 quoted lines
> On Fri, Sep 25, 2009 at 11:33, Johannes Sixt <j.sixt@viscovery.net> wrote: >> 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. >
Also installing an old version I have the same wrong behaviour and the same version works on another PC and with the same repository I am testing with.
So I am thinking to some setup somewhere that makes git to use abbreviated commits instead of full names. Does exist something like this ?
Thanks