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

Re: [git-svn PATCH] Add --no-rebase option to git-svn dcommit

From
David Kågedal <davidk@lysator.liu.se>
Date
May 3, 2007, 06:48 UTC
Message-ID
<87647aqu6i.fsf@morpheus.local>
In-Reply-To
<20070503054749.20115.53805.stgit@yoghurt>
Karl Hasselström <kha@treskal.com> writes:
Show 14 quoted lines
> git-svn dcommit exports commits to Subversion, then imports them back
> to git again, and last but not least rebases or resets HEAD to the
> last of the new commits. I guess this rebasing is convenient when
> using just git, but when the commits to be exported are managed by
> StGIT, it's really annoying. So add an option to disable this
> behavior. And document it, too!
>
> Signed-off-by: Karl Hasselström <kha@treskal.com>
> ---
>
> Arguably, the switch should be --rebase instead, and default to not
> rebase. But that would change the existing behavior, and possibly make
> dcommit less convenient to use for at least the person who implemented
> the existing behavior. Opinions?

I don't agree. The rebase behaviour makes perfect sense in the normal case, and I've been using it without problems. The special case is when you start using stgit, so that's when you need to tell dcommit to do something out of the ordinary.

Other than that, I like your patch.  But you knew that already :-)
-- 
David Kågedal
Previous: Karl HasselströmNext: Seth Falcon
Message 2 of 7 in “Add --no-rebase option to git-svn dcommit”
  1. Add --no-rebase option to git-svn dcommitKarl Hasselström, May 3, 2007
  2. David KågedalMay 3, 2007
  3. Seth FalconMay 3, 2007
  4. Eric WongMay 4, 2007
  5. Eric WongMay 4, 2007
  6. Karl HasselströmMay 4, 2007
  7. David KågedalMay 4, 2007

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.