git-svn and format.pretty = oneline
- From
Pedro Melo <melo@simplicidade.org>
- Date
- Apr 10, 2008, 16:04 UTC
- Message-ID
- <A6B16DB9-2DEA-44FC-8A36-BA979E49CD33@simplicidade.org>
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!