From: Johannes Sixt <j.sixt@viscovery.net>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>,
Nicolas Pitre <nico@fluxnic.net>,
John Hawley <warthog19@eaglescrag.net>
Subject: Re: [RFC] Add --create-cache to repack
Date: Fri, 28 Jan 2011 10:08:30 +0100 [thread overview]
Message-ID: <4D42878E.2020502@viscovery.net> (raw)
In-Reply-To: <1296201984-24426-1-git-send-email-spearce@spearce.org>
Am 1/28/2011 9:06, schrieb Shawn O. Pearce:
> A cache pack is all objects reachable from a single commit that is
> part of the project's stable history and won't disappear, and is
> accessible to all readers of the repository. By containing only that
> commit and its contents, if the commit is reached from a reference we
> know immediately that the entire pack is also reachable. To help
> ensure this is true, the --create-cache flag looks for a commit along
> refs/heads and refs/tags that is at least 1 month old, working under
> the assumption that a commit this old won't be rebased or pruned.
In one of my repositories, I have two stable branches and a good score of
topic branches of various ages (a few hours up to two years 8). The topic
branches will either be dropped eventually, or rebased.
What are the odds that this choice of a tip commit picks one that is in a
topic branch? Or is there no point in using --create-cache in a repository
like this?
-- Hannes
next prev parent reply other threads:[~2011-01-28 9:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-28 8:06 [RFC] Add --create-cache to repack Shawn O. Pearce
2011-01-28 9:08 ` Johannes Sixt [this message]
2011-01-28 14:37 ` Shawn Pearce
2011-01-28 15:33 ` Johannes Sixt
2011-01-28 18:22 ` Shawn Pearce
2011-01-28 19:15 ` Jay Soffian
2011-01-28 19:19 ` Shawn Pearce
2011-01-28 18:46 ` Nicolas Pitre
2011-01-28 19:15 ` Shawn Pearce
2011-01-28 21:09 ` Nicolas Pitre
2011-01-29 1:32 ` Shawn Pearce
2011-01-29 2:34 ` Shawn Pearce
2011-01-30 8:05 ` Junio C Hamano
2011-01-30 19:43 ` Shawn Pearce
2011-01-30 20:02 ` Junio C Hamano
2011-01-30 20:20 ` Shawn Pearce
2011-01-30 22:26 ` Nicolas Pitre
2011-01-29 4:08 ` Nicolas Pitre
2011-01-29 4:35 ` Shawn Pearce
2011-01-30 6:51 ` Junio C Hamano
2011-01-30 17:14 ` Nicolas Pitre
2011-01-30 17:41 ` A Large Angry SCM
2011-01-30 19:29 ` Shawn Pearce
2011-01-30 22:13 ` Shawn Pearce
2011-01-31 18:47 ` Shawn Pearce
2011-01-31 21:48 ` Nicolas Pitre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D42878E.2020502@viscovery.net \
--to=j.sixt@viscovery.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=nico@fluxnic.net \
--cc=spearce@spearce.org \
--cc=warthog19@eaglescrag.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).