git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Franck <vagabon.xyz@gmail.com>, Junio C Hamano <junkio@cox.net>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: [QUESTION] Access to a huge GIT repository.
Date: Sat, 19 Nov 2005 09:56:59 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0511190953520.13959@g5.osdl.org> (raw)
In-Reply-To: <cda58cb80511190423w1e46bf5bu@mail.gmail.com>



On Sat, 19 Nov 2005, Franck wrote:
> 
> Then by running git-repack -a -d, I build a new small pack that
> contains only latest objects, but then the script runs
> git-redundant-pack script which erases the new small one since all its
> objects are included in the old big one. Is that correct ?

Gaah.

The git-redundant-pack logic has totally broken "git repack -a -d"

Junio, can we undo that, please? With "-a", redundant pack removal is 
trivial (and we used to do it right, exactly because it is trivial), and 
without "-a", redundant pack removal is pointless (since it will never 
pack objects that are already packed).

So "git repack" should _never_ call git-redundant-pack. It's always either 
wrong or pointless.

git-redundant-pack is great for "git prune", not for repack.

		Linus

  parent reply	other threads:[~2005-11-19 17:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-16 12:24 [QUESTION] Access to a huge GIT repository Franck
2005-11-16 16:46 ` Linus Torvalds
2005-11-17 10:36   ` Franck
2005-11-17 16:23     ` Linus Torvalds
2005-11-17 21:47       ` Franck
2005-11-17 22:44         ` Linus Torvalds
2005-11-19 12:23           ` Franck
2005-11-19 12:45             ` Lukas Sandström
2005-11-19 20:42               ` Junio C Hamano
2005-11-19 17:56             ` Linus Torvalds [this message]
2005-11-19 19:52               ` Junio C Hamano
2005-11-21 20:11                 ` Franck
2005-11-21 20:45                   ` Junio C Hamano
2005-11-22  9:22                     ` Franck
2005-11-22  9:50                       ` Junio C Hamano
2005-11-22 10:40                         ` Franck
2005-11-22 17:06                           ` Junio C Hamano
2005-11-22 19:10                             ` Franck
2005-11-16 18:24 ` Junio C Hamano
2005-11-16 20:01   ` Martin Langhoff
2005-11-16 20:10     ` Linus Torvalds
2005-11-16 20:35     ` Junio C Hamano

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0511190953520.13959@g5.osdl.org \
    --to=torvalds@osdl.org \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=vagabon.xyz@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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).