threads / discuss / 13053

git-svn and format.pretty = oneline

Subject: git-svn and format.pretty = oneline

## tl;dr

One message between Apr 10, 2008 and Apr 10, 2008.

replies: 0people: 1as markdown or json

Pedro Melo· Apr 10, 2008, 16:04 UTC · lore
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!

← back to recent threads