git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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!
Message 1 of 1 in “git-svn and format.pretty = oneline”
  1. Pedro MeloApr 10, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.