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

Re: [PATCH/RFC] git svn: don't introduce new paragraph for git-svn-id

From
EWEric Wong <normalperson@yhbt.net>
Date
Aug 1, 2012, 21:43 UTC
Message-ID
<20120801214318.GA10384@dcvr.yhbt.net>
In-Reply-To
<1343856197-6393-1-git-send-email-robert@debian.org>
Robert Luberda <robert@debian.org> wrote:
Show 10 quoted lines
> While importing changes from SVN by `git svn fetch' strip any
> white spaces from beginnings and endings of SVN commit messages
> and skip adding a new line character before `git-svn-id:'
> line in case the commit message ends with another pseudo-header
> (like From:, Signed-off-by: or Change-Id:, etc.).
> 
> This patch allows one to use gerrit code review system on git-svn-managed
> repositories. gerrit expects its `Change-Id:' header to appear in the
> last paragraph of commit message and `git-svn-id:' following a new
> line character was breaking this expectation.

I've long wanted to change this, but it breaks compatibility if folks are importing from the same repo, sharing changes and one upgrades git-svn.

How about making this optional and configurable at init/clone time?
Previous: Robert LuberdaNext: Robert Luberda
Message 2 of 13 in “git svn: don't introduce new paragraph for git-svn-id”
  1. git svn: don't introduce new paragraph for git-svn-idRobert Luberda, Aug 1, 2012
  2. Eric WongAug 1, 2012
  3. Robert LuberdaAug 1, 2012
  4. Eric WongAug 1, 2012
  5. Robert LuberdaAug 19, 2012
  6. git svn: optionally trim imported log messagesRobert Luberda, Aug 19, 2012
  7. Junio C HamanoAug 19, 2012
  8. Robert LuberdaAug 24, 2012
  9. Junio C HamanoAug 24, 2012
  10. Eric WongAug 21, 2012
  11. Junio C HamanoAug 21, 2012
  12. Robert LuberdaAug 24, 2012
  13. Eric WongAug 26, 2012

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.