On Saturday 10 April 2010, Frank H. Ellenberger wrote:
> Just to clarify my problem:
> > git --version
> 
> git version 1.6.0.2
> 
> > git --git-dir ./.git log -1 --pretty=%h HEAD >result
> 
> fatal: invalid --pretty format: %h
> 
> > cat result
> 
> So git version 1.6.0.2 requires --pretty=format: to interpret "%h".
>  Attached is an improved version of my patch - removed trailing spaces and
>  applied my substitution real_gitdir also on the outcommented line.
> 
> Frank
> 
Frank,

Thank you for the clarification. To be sure, I tested if --pretty=format:"%h" 
also works on git 1.5.5 (installed on RHEL5) and that worked ok.

So I committed your patch in r19011

Geert
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to