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

Frank H. Ellenberger f.ellenberger at online.de
Sat Apr 10 07:55:29 EDT 2010


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Re-r18880-Bug-611645-gnc-svnversion-returns-too.patch
Type: text/x-diff
Size: 1737 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20100410/1677f37c/attachment.bin>


More information about the gnucash-devel mailing list