Re: git log --pretty=format:%h prints (unrequired) abbreviated sha
- From
- Marco Costalba <mcostalba@gmail.com>
- Date
- Sep 25, 2009, 14:04 UTC
- Message-ID
- <e5bfff550909250704x724fd4c7lebe7184b4557c7a9@mail.gmail.com>
- In-Reply-To
- <e5bfff550909250430x14b0d7f4w5e22467ddd66cc29@mail.gmail.com>
On Fri, Sep 25, 2009 at 12:30, Marco Costalba <mcostalba@gmail.com> wrote:
Show 5 quoted lines
> > So I am thinking to some setup somewhere that makes git to use > abbreviated commits instead of full names. Does exist something like > this ? >
Here it is very strange. The problem is that git shell is no more case sensitive.
I have tried git commit -F ...
and I got error:unkown switch 'f'
So somehow the problem is that all the commands are lowercased, and this explains why pretty format %H is interpreted as %h so that sha abbreviated form is used.
Now the question is: how to restore normal case sensitive command parsing ?
Thanks Marco
P.S: Please, at least answer this last question ;-)