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

Re: [PATCH 0/8] git-repack --max-pack-size

From
Junio C Hamano <junkio@cox.net>
Date
May 1, 2007, 19:07 UTC
Message-ID
<7vlkg85pn5.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0705011939590.4010@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 32 quoted lines
> Hi,
>
> On Tue, 1 May 2007, Junio C Hamano wrote:
>
>> Nicolas Pitre <nico@cam.org> writes:
>> 
>> > On Tue, 1 May 2007, Junio C Hamano wrote:
>> >
>> >> I was not sure if that is even a good idea, and I am now
>> >> inclined to think that keeping the failed attempt history is
>> >> probably better than potentially causing confusion to people who
>> >> follow 'next'.  But it _is_ a possibility to reset 'next' to
>> >> 'master'.
>> >
>> > And what is the advantage of doing that, exactly?
>> 
>> Not much and that is why I am not sure if that is a good idea,
>> but one thing is:
>> 
>> 	$ git log master..next
>> 	$ git log --no-merges master..next
>> 
>> would start showing what are still pending in next without
>> noise.
>
> Of course, you could graft a fake relationship there. Something like
>
> echo $(git rev-parse master master^ next) >> .git/info/grafts
>
> should do. And you can do it _locally_, since all you care about is the 
> higher-level relationship that _you_ know about. And this is the way to 
> teach Git about it.
In case you did not get it, making the above usable is not about _me_.
Previous: Johannes Schindelin
Message 11 of 11 in “git-repack --max-pack-size”
  1. 0/8 git-repack --max-pack-sizeDana How, Apr 30, 2007
  2. Junio C HamanoMay 1, 2007
  3. Shawn O. PearceMay 1, 2007
  4. Andy ParkinsMay 1, 2007
  5. Junio C HamanoMay 1, 2007
  6. Andy ParkinsMay 1, 2007
  7. Nicolas PitreMay 1, 2007
  8. Junio C HamanoMay 1, 2007
  9. Nicolas PitreMay 1, 2007
  10. Johannes SchindelinMay 1, 2007
  11. Junio C HamanoMay 1, 2007

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.