[Patch] Re: r18880 - Bug #611645 gnc-svnversion returns "too long" a string for git users, patch by Jeff Kletsky

Geert Janssens janssens-geert at telenet.be
Sat Apr 10 08:24:23 EDT 2010

On Saturday 10 April 2010, Frank H. Ellenberger wrote:
> Just to clarify my problem:
> > git --version
> git version
> > git --git-dir ./.git log -1 --pretty=%h HEAD >result
> fatal: invalid --pretty format: %h
> > cat result
> So git version 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

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


More information about the gnucash-devel mailing list