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

Re: [PATCH] [BUG] Add a test to check git-prune does not throw awayrevs hidden by a graft.

From
DLDavid Lang <dlang@digitalinsight.com>
Date
May 19, 2006, 22:26 UTC
Message-ID
<Pine.LNX.4.62.0605191526060.2828@qynat.qvtvafvgr.pbz>
In-Reply-To
<Pine.LNX.4.64.0605191159520.10823@g5.osdl.org>
On Fri, 19 May 2006, Linus Torvalds wrote:
Show 24 quoted lines
> On Fri, 19 May 2006, Yann Dirson wrote:
>
>> On Thu, May 18, 2006 at 03:53:36PM -0700, Junio C Hamano wrote:
>>> Yann Dirson <ydirson@altern.org> writes:
>>>
>>>> To make my point maybe more clear: if someone really wants to make a
>>>> graft permanent, wouldn't some history rewriting ... be the
>>>> way to go,...
>>>
>>> Yes.
>>
>> So if temporary usage is a typical use for grafts, don't we want to
>> protect people using them from pruning ?  I got no feedback to my
>> suggestion of changing the default behaviour, even to say it was a bad
>> idea :)
>
> I don't actually know how much grafts end up being used. Right now, the
> only really valid use I know about is to graft together the old kernel
> history kind of thing, and I suspect not a whole lot of people do that (I
> keep a separate kernel history tree around for when I need to look at it,
> and it doesn't happen all that often).
>
> So I think the lack of feedback on the graft-related issue comes directly
> from that lack of graft usage.

if/when shallow clones become available I would expect to see graft useage climb significantly

David Lang
-- 
There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.
  -- C.A.R. Hoare
Previous: Junio C Hamano
Message 16 of 16 in “[BUG] Add a test to check git-prune does not throw away revs hidden by a graft.”
  1. [BUG] Add a test to check git-prune does not throw away revs hidden by a graft.Yann Dirson, May 18, 2006
  2. Linus TorvaldsMay 18, 2006
  3. Junio C HamanoMay 18, 2006
  4. Linus TorvaldsMay 18, 2006
  5. Junio C HamanoMay 18, 2006
  6. Yann DirsonMay 18, 2006
  7. Junio C HamanoMay 18, 2006
  8. Yann DirsonMay 18, 2006
  9. Junio C HamanoMay 18, 2006
  10. Yann DirsonMay 19, 2006
  11. Jakub NarebskiMay 19, 2006
  12. Linus TorvaldsMay 19, 2006
  13. Yann DirsonMay 19, 2006
  14. Linus TorvaldsMay 19, 2006
  15. Junio C HamanoMay 19, 2006
  16. David LangMay 19, 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.