git-svn and format.pretty = oneline

From: Pedro Melo <hidden>
Date: 2016-06-15 22:44:28

Hi,

I was using  git-svn rebase today and I got this back:

Unable to determine upstream SVN information from working tree history

After looking through the code, I noticed that it calls the command

git log --no-color --first-parent

which gives this output with my config:

git-log --no-color --first-parent | head -
3300db99f4598ca9e532eb4a1f862c51fb0cef2af nova versao do schema. refs  
#204
1a4f243795430eafeff7c2c0715c7f1a6cc4fec5 Contratos de Publicidade:  
criar novo (pre-alpha). refs #205, #206, #207
dacd5141b4eaa8dcd8eeaf63eab28901309d0b50 Whitespace

The problem was that I had git-config format.pretty oneline earlier  
on and it seems to be incompatible with git-svn. Removing that config  
line worked.

Patch to force a --pretty=medium sent in following email.

Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo@simplicidade.org
Use XMPP!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help