git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schindelin <johannes.schindelin@gmx.de>
To: git@vger.kernel.org, gitster@pobox.com
Cc: "Björn Steinbrink" <B.Steinbrink@gmx.de>
Subject: [PATCH 0/2] Make git-gc more robust with regard to grafts
Date: Thu, 23 Jul 2009 17:33:06 +0200 (CEST)	[thread overview]
Message-ID: <cover.1248362827u.git.johannes.schindelin@gmx.de> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 819 bytes --]

More and more Git newbies are taught the wonders of Git grafts.  But that 
is dangerous if the exercise is not to use filter-branch right away.

So let's make git-repack (and thereby, git-gc) aware of grafts and avoid 
culling the parent commits hidden by grafts.

Björn Steinbrink (1):
  Add a test showing that 'git repack' throws away grafted-away parents

Johannes Schindelin (1):
  git repack: keep commits hidden by a graft

 Documentation/git-pack-objects.txt |    7 ++++++-
 builtin-pack-objects.c             |    4 ++++
 cache.h                            |    2 ++
 commit.c                           |    2 +-
 environment.c                      |    1 +
 git-repack.sh                      |    2 +-
 t/t7700-repack.sh                  |   12 ++++++++++++
 7 files changed, 27 insertions(+), 3 deletions(-)

             reply	other threads:[~2009-07-23 15:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23 15:33 Johannes Schindelin [this message]
2009-07-23 15:33 ` [PATCH 1/2] Add a test showing that 'git repack' throws away grafted-away parents Johannes Schindelin
2009-07-23 16:09   ` Björn Steinbrink
2009-07-23 15:33 ` [PATCH 2/2] git repack: keep commits hidden by a graft Johannes Schindelin
2009-07-24  5:04   ` Junio C Hamano
2009-07-24  9:36     ` Johannes Schindelin
2009-07-24  5:13   ` Junio C Hamano
2009-07-24  5:35     ` Björn Steinbrink
2009-07-24  9:37       ` Johannes Schindelin
2009-07-24 15:24         ` 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

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

  git send-email \
    --in-reply-to=cover.1248362827u.git.johannes.schindelin@gmx.de \
    --to=johannes.schindelin@gmx.de \
    --cc=B.Steinbrink@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.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.
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).