From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu Moy Subject: Re: [PATCH v2] add: add --bulk to index all objects into a pack file Date: Fri, 04 Oct 2013 09:10:59 +0200 Message-ID: References: <1380772811-15415-1-git-send-email-pclouds@gmail.com> <1380869871-31631-1-git-send-email-pclouds@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: git@vger.kernel.org, Junio C Hamano To: =?utf-8?B?Tmd1eeG7hW4gVGjDoWkgTmfhu41j?= Duy X-From: git-owner@vger.kernel.org Fri Oct 04 09:11:26 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VRzXo-0004n8-VR for gcvg-git-2@plane.gmane.org; Fri, 04 Oct 2013 09:11:25 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751300Ab3JDHLK convert rfc822-to-quoted-printable (ORCPT ); Fri, 4 Oct 2013 03:11:10 -0400 Received: from mx2.imag.fr ([129.88.30.17]:42067 "EHLO rominette.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750842Ab3JDHLJ (ORCPT ); Fri, 4 Oct 2013 03:11:09 -0400 Received: from globule.imag.fr (globule.imag.fr [129.88.34.238]) by rominette.imag.fr (8.13.8/8.13.8) with ESMTP id r947Axu9018248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Oct 2013 09:10:59 +0200 Received: from anie.imag.fr (anie.imag.fr [129.88.7.32]) (authenticated bits=0) by globule.imag.fr (8.13.8/8.13.8) with ESMTP id r947AxTN003436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 4 Oct 2013 09:10:59 +0200 In-Reply-To: <1380869871-31631-1-git-send-email-pclouds@gmail.com> (=?utf-8?B?Ik5ndXnhu4VuCVRow6FpIE5n4buNYw==?= Duy"'s message of "Fri, 4 Oct 2013 13:57:51 +0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (rominette.imag.fr [129.88.30.17]); Fri, 04 Oct 2013 09:10:59 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: r947Axu9018248 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: matthieu.moy@grenoble-inp.fr MailScanner-NULL-Check: 1381475462.1513@corWAu0WFQLc2YWPaKDv6A Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Nguy=E1=BB=85n Th=C3=A1i Ng=E1=BB=8Dc Duy writes: > except that it does not deltifies nor sort objects. I think this should be mentionned in the doc. Otherwise, it seems like "git add --bulk" is like "git add && git repack". BTW, will the next "git gc" be efficient after a "add --bulk"? I mean: will it consider the pack as "already pack" and let it as-is, without deltification, or will it get a chance to actually repack efficiently? --=20 Matthieu Moy http://www-verimag.imag.fr/~moy/