Re: Trying to use git-filter-branch to compress history by removing large, obsolete binary files

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: J. Bruce Fields <bfields@...>
Cc: Johannes Sixt <j.sixt@...>, Johannes Schindelin <Johannes.Schindelin@...>, Elijah Newren <newren@...>, Frank Lichtenheld <frank@...>, <git@...>
Date: Monday, October 8, 2007 - 12:37 pm

On Mon, Oct 08, 2007 at 10:36:50AM -0400, J. Bruce Fields wrote:

I think what makes git-filter-branch different is that you can change
a large amount of history with git-filter-branch, including large
numbers of tags, etc.  The reflog is quite sufficient to recover from
a screwed up "git commit --amend".  But I don't think the reflog is
going to be sufficient given the kinds of changes that
git-filter-branch can potentially do to your repository.  Maybe
default of --backup vs --no-backup could be changed via a config
parameter, but I think the default is of backing up refs is a good
think....

Perhaps a solution would be to add "git-filter-branch --cleanup" that
that clears the reflog and wipes the backed up tags; perhaps first
asking interactively if the user is really sure he/she wants to do
this.

						- Ted
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Trying to use git-filter-branch to compress history by r..., Johannes Schindelin, (Sun Oct 7, 7:19 pm)
Re: Trying to use git-filter-branch to compress history by r..., Johannes Schindelin, (Sun Oct 7, 7:28 pm)
Re: Trying to use git-filter-branch to compress history by r..., Johannes Schindelin, (Sun Oct 7, 8:34 pm)
Re: Trying to use git-filter-branch to compress history by r..., Johannes Schindelin, (Sun Oct 7, 9:06 pm)
Re: Trying to use git-filter-branch to compress history by r..., Theodore Tso, (Mon Oct 8, 12:37 pm)
Re: Trying to use git-filter-branch to compress history by r..., Johannes Schindelin, (Tue Oct 9, 6:37 am)