public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: gcc@gcc.gnu.org
Cc: git@vger.kernel.org
Subject: Re: Something is broken in repack
Date: Fri, 14 Dec 2007 02:31:00 -0000	[thread overview]
Message-ID: <fjskqt$eap$1@ger.gmane.org> (raw)
In-Reply-To: <47616044.7070504@viscovery.net>

Johannes Sixt wrote:
> Paolo Bonzini schrieb:
>> Nguyen Thai Ngoc Duy wrote:
>>>
>>> Is there an alternative to "git repack -a -d" that repacks everything
>>> but the first pack?
>> 
>> That would be a pretty good idea for big repositories.  If I were to
>> implement it, I would actually add a .git/config option like
>> pack.permanent so that more than one pack could be made permanent; then
>> to repack really really everything you'd need "git repack -a -a -d".
> 
> It's already there: If you have a pack .git/objects/pack/pack-foo.pack, then
> "touch .git/objects/pack/pack-foo.keep" marks the pack as precious.

Actually you can (and probably should) put the one line with the _reason_
pack is to be kept in the *.keep file.

Hmmm... it is even documented in git-gc(1)... and git-index-pack(1) of
all things.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git


  reply	other threads:[~2007-12-14  1:25 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9e4733910712071505y6834f040k37261d65a2d445c4@mail.gmail.com>
     [not found] ` <9e4733910712101825l33cdc2c0mca2ddbfd5afdb298@mail.gmail.com>
     [not found]   ` <alpine.LFD.0.99999.0712102231570.555@xanadu.home>
     [not found]     ` <9e4733910712102125w56c70c0cxb8b00a060b62077@mail.gmail.com>
2007-12-11  7:01       ` Jon Smirl
2007-12-11  7:34         ` Jon Smirl
2007-12-11 11:11           ` Andreas Ericsson
2007-12-11 15:01           ` Nicolas Pitre
2007-12-11 15:36             ` Nicolas Pitre
2007-12-11 16:20               ` Jon Smirl
2007-12-11 16:22               ` Nicolas Pitre
2007-12-11 16:34                 ` Jon Smirl
2007-12-12  7:25                   ` Nicolas Pitre
2007-12-12 12:02                     ` David Kastrup
2007-12-14 16:44                       ` Wolfram Gloger
2007-12-12 16:14                     ` Nicolas Pitre
2007-12-12 16:37                       ` Paolo Bonzini
2007-12-12 16:42                       ` Linus Torvalds
2007-12-12 16:54                         ` David Miller
2007-12-12 17:12                           ` Linus Torvalds
2007-12-12 17:29                         ` Jon Smirl
2007-12-14 16:19                         ` Wolfram Gloger
2007-12-14 16:59                           ` David Kastrup
2007-12-14 18:49                             ` Wolfram Gloger
2007-12-13 14:09                       ` Nguyen Thai Ngoc Duy
     [not found]                         ` <fjrj9k$n6k$1@ger.gmane.org>
2007-12-13 16:39                           ` Paolo Bonzini
2007-12-13 17:40                           ` Johannes Sixt
2007-12-14  2:31                             ` Jakub Narebski [this message]
     [not found]                               ` <fjt6vm$n7d$1@ger.gmane.org>
2007-12-14  6:39                                 ` Nguyen Thai Ngoc Duy
2007-12-14  9:02                                   ` Paolo Bonzini
2007-12-14  9:39                                     ` Harvey Harrison
2007-12-14 10:52                                   ` Jakub Narebski
2007-12-14 13:25                                     ` Nguyen Thai Ngoc Duy
2007-12-14 13:53                                 ` Nicolas Pitre
2007-12-12 16:19                     ` Nicolas Pitre
2007-12-13  7:39                       ` Andreas Ericsson
2007-12-14 16:12                         ` Wolfram Gloger
2007-12-11 17:19           ` Linus Torvalds
2007-12-11 17:24             ` Nicolas Pitre
2007-12-11 17:28               ` David Miller
2007-12-11 18:43                 ` Nicolas Pitre
2007-12-11 20:34                   ` Andreas Ericsson
2007-12-11 18:57             ` Jon Smirl
2007-12-11 19:17               ` Nicolas Pitre
2007-12-11 19:40               ` Linus Torvalds
2007-12-11 20:26                 ` Junio C Hamano
2007-12-12  5:06                   ` Andreas Ericsson
2007-12-11 17:44           ` Daniel Berlin
2007-12-11 13:49         ` 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='fjskqt$eap$1@ger.gmane.org' \
    --to=jnareb@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=git@vger.kernel.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).