From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] filter-branch: Big syntax change; support rewriting multiple refs
Date: Tue, 24 Jul 2007 10:10:12 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707241010060.14781@racer.site> (raw)
In-Reply-To: <7vfy3ejre3.fsf@assigned-by-dhcp.cox.net>
Hi,
On Mon, 23 Jul 2007, Junio C Hamano wrote:
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
> > Junio, I know that this comes quite late in the game, but I really
> > think that the "first arg is new branch name" was a bad syntax.
> >
> > Could you please consider taking this patch (or whatever version
> > comes out after review ;-) or keeping filter-branch of 1.5.3? I
> > do not want people to get used to the borked syntax...
>
> Yeah, "No new features after -rc" should not apply to this one.
>
> I was actually going to ask you about it, since this is a feature we
> have already advertised to the public, but still is a new feature, and
> we'd be better off getting it right in the first public version.
Thanks.
> > BTW I considered "git log -g --all" as an alternative to
> > inspecting refs/original/, but ATM this die()s if just _one_ of
> > the refs has no logs. Probably should fix that, too.
>
> I do not think refs/original/ is such a hot feature. What's wrong with
> "gitk mine@{1}...mine"?
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
next prev parent reply other threads:[~2007-07-24 9:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-23 17:34 [PATCH] filter-branch: Big syntax change; support rewriting multiple refs Johannes Schindelin
2007-07-24 5:35 ` Junio C Hamano
2007-07-24 9:10 ` Johannes Schindelin [this message]
2007-07-24 9:27 ` [PATCH] filter-branch: Big syntax change; support rewriting multiplerefs Johannes Sixt
2007-07-24 10:36 ` [PATCH] filter-branch: when dwim'ing a ref, only allow heads and tags Johannes Schindelin
2007-07-24 11:04 ` [PATCH] filter-branch: when dwim'ing a ref, only allow heads andtags Johannes Sixt
2007-07-24 11:20 ` Johannes Schindelin
2007-07-24 11:27 ` [PATCH] filter-branch: when dwim'ing a ref, only allow heads and tags Johannes Schindelin
2007-07-24 11:06 ` [PATCH] filter-branch: rewrite only refs which were not excluded by the options Johannes Schindelin
2007-07-24 11:23 ` [PATCH] filter-branch: rewrite only refs which were not excluded bythe options Johannes Sixt
2007-07-24 11:33 ` Johannes Schindelin
2007-07-24 13:32 ` [PATCH] filter-branch: rewrite only refs which were not excludedbythe options Johannes Sixt
2007-07-24 13:41 ` Johannes Schindelin
2007-07-24 14:08 ` Johannes Sixt
2007-07-24 14:21 ` Johannes Schindelin
2007-07-24 15:03 ` Johannes Sixt
2007-07-24 19:52 ` Johannes Schindelin
2007-07-24 13:42 ` [REVISED PATCH] filter-branch: rewrite only unexcluded refs Johannes Schindelin
2007-07-24 13:33 ` [PATCH] filter-branch: rewrite only refs which were not excludedbythe options Johannes Sixt
2007-07-24 13:46 ` Johannes Schindelin
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=Pine.LNX.4.64.0707241010060.14781@racer.site \
--to=johannes.schindelin@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).