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

Re: History messup

From
David Woodhouse <dwmw2@infradead.org>
Date
May 9, 2005, 17:27 UTC
Message-ID
<1115659677.16187.393.camel@hades.cambridge.redhat.com>
In-Reply-To
<1115657971.19236.33.camel@tglx>
On Mon, 2005-05-09 at 16:59 +0000, Thomas Gleixner wrote:
Show 12 quoted lines
> David merged from Linus repository . Linus synced later with David.
> Linus did not create a new commit for this update and just pointed his
> "HEAD" to Davids "HEAD", which means he forked Davids repository at
> this point.
> 
> Due to that the parent->parent history is not longer unique. This
> makes it impossible to do file revision graphs over the various
> repositories in the correct order.
> 
> Is this a unique problem or is the omission of a commit in cases like
> that usual practice ? In the latter case proper history tracking is
> almost impossible.

It's normal practice, and it _has_ to be the case. Otherwise the trees would never stabilise -- every time Linus pulled from my tree he would create a merge-commit which I don't yet have, and vice versa.

Unless a commit also carries a unique repo-id identifying the repository in which it originally occurred, you'll only ever be able to track history in the way people want by means of heuristics.

-- 
dwmw2
Previous: Thomas GleixnerNext: Thomas Gleixner
Message 4 of 11 in “History messup”
  1. Thomas GleixnerMay 9, 2005
  2. Thomas GlanzmannMay 9, 2005
  3. Thomas GleixnerMay 9, 2005
  4. David WoodhouseMay 9, 2005
  5. Thomas GleixnerMay 9, 2005
  6. H. Peter AnvinMay 9, 2005
  7. David WoodhouseMay 9, 2005
  8. H. Peter AnvinMay 9, 2005
  9. SeanMay 9, 2005
  10. Thomas GleixnerMay 11, 2005
  11. Petr BaudisMay 11, 2005

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.