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

Re: dangling commits

From
Andreas Ericsson <ae@op5.se>
Date
Jan 16, 2006, 12:05 UTC
Message-ID
<43CB8BFC.8050900@op5.se>
In-Reply-To
<20060116113332.GA5356@fiberbit.xs4all.nl>
Marco Roeland wrote:
Show 11 quoted lines
> On Monday January 16th 2006 Andreas Ericsson wrote:
> 
> 
>>Since "pu" = "proposed updates" it only makes sense to keep it on top of 
>>the current master, otherwise the effort required for anyone to test it 
>>in conjunction with the latest master branch would simply be too great.
> 
> 
> But couldn't (in theory) the new "rebased" versions of blobs in the "pu"
> branch be first committed as the old not yet rebased version and then
> as the new version.

The blobs are immutable and never change for a rebase, unless the file(s) it applies to is changed in master as well. It's the commits that do because they get new parents.

Remember that the blob object is just the (deltified?) file that's the result of the commit operation. The commit object is an object in its own rights, holding author info and commit-time and such. Do

	$ git cat-file commit HEAD
and you'll see what a commit-object looks like.
-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Marco RoelandNext: Marco Roeland
Message 12 of 15 in “dangling commits”
  1. Nick WilliamsJan 15, 2006
  2. Andreas EricssonJan 15, 2006
  3. Nick WilliamsJan 15, 2006
  4. Junio C HamanoJan 15, 2006
  5. Wolfgang DenkJan 15, 2006
  6. Junio C HamanoJan 15, 2006
  7. Marco RoelandJan 16, 2006
  8. Junio C HamanoJan 16, 2006
  9. Marco RoelandJan 16, 2006
  10. Andreas EricssonJan 16, 2006
  11. Marco RoelandJan 16, 2006
  12. Andreas EricssonJan 16, 2006
  13. Marco RoelandJan 16, 2006
  14. Wolfgang DenkJan 16, 2006
  15. Marco RoelandJan 16, 2006

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.