git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] git-svn parses --pretty=medium log output, fails when log.decorate is true
@ 2010-10-05 10:18 Will Palmer
  2010-10-05 11:48 ` Mathias Lafeldt
  2010-10-05 16:58 ` Jeff King
  0 siblings, 2 replies; 5+ messages in thread
From: Will Palmer @ 2010-10-05 10:18 UTC (permalink / raw)
  To: git

I started receiving this error during "git svn dcommit" today:

Use of uninitialized value $hash in string eq
at /home/wpalmer/libexec/git-core/git-svn line 1534.

Examining that section reveals that git-svn is running 
"git log --no-color --first-parent --pretty=medium"

and parsing the output in order to find commit hashes and git-svn-id:
lines. This breaks when log.decorate is true.

This could be patched-up by adding "--no-decorate" to the options
git-svn passes, but that seems to me like it would just be adding to the
pile, as "--pretty=medium" is a moving target. I assume the correct
solution is to specify the format exactly as it is expected.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-05 18:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-05 10:18 [BUG] git-svn parses --pretty=medium log output, fails when log.decorate is true Will Palmer
2010-10-05 11:48 ` Mathias Lafeldt
2010-10-05 16:58 ` Jeff King
2010-10-05 17:53   ` Mathias Lafeldt
2010-10-05 18:02     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).