Re: [PATCH] filter-branch: Big syntax change; support rewriting multiple refs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: <git@...>
Date: Tuesday, July 24, 2007 - 5:10 am

Hi,

On Mon, 23 Jul 2007, Junio C Hamano wrote:


Thanks.


If you are saying

	$ git filter-branch <some-filters> --all <rev-list-options>

potentially all refs are rewritten.

To find out which ones actually changed, you can use "git show-ref | grep 
^refs/original/" ATM.

It is not really easy to do it otherwise.  With the patches I sent out 
yesterday,

	$ git log -g --no-walk --all --decorate --abbrev-commit 
	  --pretty=oneline --since=<before-the-last-filter-branch-call>

would be similar, but not as comfortable, would it?

Of course, we could teach filter-branch an option, say --show-changed, 
which will not actually filter branches, but instead look at the reflogs 
itself and show the refs which were recently changed by filter-branch.

But note that you can switch off reflogs.

Ciao,
Dscho

-
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:
[PATCH] filter-branch: Big syntax change; support rewriting ..., Johannes Schindelin, (Mon Jul 23, 1:34 pm)
Re: [PATCH] filter-branch: Big syntax change; support rewrit..., Johannes Schindelin, (Tue Jul 24, 5:10 am)