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

Re: Regression: git-svn clone failure

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 22, 2009, 21:38 UTC
Message-ID
<7vbphqzo2y.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1261516416.23944.44.camel@denix>
Sam Vilain <sam@vilain.net> writes:
Show 16 quoted lines
> With git, merge parent relationships imply (conceptually, anyway) that
> all of the changes reachable from that branch are included in the
> commit.  If someone is doing cherry-picking, then they are specifically
> excluding some commits, so adding a merge parent to that branch isn't
> right.  This is what the warning is saying.  It's happening every commit
> because that section of code doesn't know whether a mergeinfo record is
> new or not.
> ...
> Subject: [PATCH] git-svn: consider 90% of a branch cherry picked to be a merge
>
> Be slightly fuzzy when deciding if a branch is a merge or a cherry pick; in
> some instances this might indicate intentionally skipping changes as not
> required, as if they had performed a real merge and then skipped those
> files.
>
> Signed-off-by: Sam Vilain <sam@vilain.net>

If I were _using_ git-svn (or any other tool), I would rather be forced to see overlapping changes from both branches to sort out the conflict myself when I merge such a cherry-picked history, rather than an automated but unreliable operation that drops changes randomly, still records that everything from the branch is now merged, and reports "everything is peachy".

That sounds horrible, as you cannot trust your merges anymore. I hope I am mis-interpreting what you wrote above.

Previous: Sam VilainNext: Sam Vilain
Message 6 of 10 in “Regression: git-svn clone failure”
  1. Andrew MyrickDec 22, 2009
  2. Eric WongDec 22, 2009
  3. Andrew MyrickDec 22, 2009
  4. Eric WongDec 22, 2009
  5. Sam VilainDec 22, 2009
  6. Junio C HamanoDec 22, 2009
  7. Sam VilainDec 23, 2009
  8. Andrew MyrickDec 22, 2009
  9. Sam VilainDec 23, 2009
  10. Sam VilainDec 22, 2009

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.