[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 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
More information about the gnucash-devel
mailing list