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

Re: Does content provenance matter?

From
Thomas Rast <trast@student.ethz.ch>
Date
May 7, 2012, 08:23 UTC
Message-ID
<878vh4flh1.fsf@thomas.inf.ethz.ch>
In-Reply-To
<1336250956.54413.YahooMailClassic@web121505.mail.ne1.yahoo.com>
Kelly Dean <kellydeanch@yahoo.com> writes:
> [copying B/X over to C/X is not recorded as such], on the theory that
> just content, not provenance, is what matters.
> [merging branches *is* recorded], on the theory that not only content,
> but also provenance, matters.
Show 6 quoted lines
> The basic question is, if provenance doesn't matter, then why does a
> git commit record its parent(s)? Why not omit this information, and
> figure it out at search time (by looking at all commits with older
> timestamps), the same as you're supposed to figure out renames at
> search time and figure out the movement of lines within/among files at
> search time (by looking at all files in the parent commit(s))?
What's the difference between the following series of commits?
  Foo
  Bar
  Revert Bar
and
  Foo

You claim that they're the same, because the tree state after each is the same. But I learned that Bar was broken, and recorded it for all to see.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Kelly DeanNext: Kelly Dean
Message 2 of 10 in “Does content provenance matter?”
  1. Kelly DeanMay 5, 2012
  2. Thomas RastMay 7, 2012
  3. Kelly DeanMay 7, 2012
  4. PJ WeisbergMay 7, 2012
  5. Kelly DeanMay 7, 2012
  6. Andrew ArdillMay 8, 2012
  7. Philip OakleyMay 8, 2012
  8. Junio C HamanoMay 8, 2012
  9. Junio C HamanoMay 8, 2012
  10. Jakub NarebskiMay 7, 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.