From: Johannes Sixt <j6t@kdbg.org>
To: Dave Zarzycki <zarzycki@apple.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Make filter-branch work with many branches
Date: Tue, 19 Jul 2011 20:06:02 +0200 [thread overview]
Message-ID: <4E25C78A.1090600@kdbg.org> (raw)
In-Reply-To: <E186982C-71AE-4C08-B857-A67BDCD21E3D@apple.com>
Am 19.07.2011 18:29, schrieb Dave Zarzycki:
> -rev_args=$(git rev-parse --revs-only "$@")
> -
> case "$filter_subdir" in
> "")
> eval set -- "$(git rev-parse --sq --no-revs "$@")"
This line in the hunk context changes what "$@" will produce. Therefore,
the "$@" that you removed above will not produce the same thing...
> @@ -286,8 +284,8 @@ case "$filter_subdir" in
> ;;
> esac
>
> -git rev-list --reverse --topo-order --default HEAD \
> - --parents --simplify-merges $rev_args "$@" > ../revs ||
> +git rev-parse --revs-only "$@" | git rev-list --stdin --reverse --topo-order \
> + --default HEAD --parents --simplify-merges "$@" > ../revs ||
... that you insert here. How can the result ever have worked for you?
Perhaps store the list of revs in a temporary file?
-- Hannes
next prev parent reply other threads:[~2011-07-19 18:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-19 16:29 [PATCH] Make filter-branch work with many branches Dave Zarzycki
2011-07-19 18:06 ` Johannes Sixt [this message]
2011-07-20 13:34 ` Dave Zarzycki
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=4E25C78A.1090600@kdbg.org \
--to=j6t@kdbg.org \
--cc=git@vger.kernel.org \
--cc=zarzycki@apple.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.