Re: [PATCH v5 1/2] filter-branch: stop special-casing $filter_subdir argument
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Nov 11, 2009, 08:58 UTC
- Message-ID
- <4AFA7CC3.6020500@viscovery.net>
- In-Reply-To
- <4AFA7B9A.4090005@viscovery.net>
Johannes Sixt schrieb:
Show 11 quoted lines
> --- a/git-filter-branch.sh
> +++ b/git-filter-branch.sh
> @@ -266,7 +266,7 @@
>
> # we need "--" only if there are no path arguments in $@
> nonrevs=$(git rev-parse --no-revs "$@") || exit
> -dashdash=${nonrevs+"--"}
> +test -z "$nonrevs" && dashdash=-- || dashdash=
> rev_args=$(git rev-parse --revs-only "$@")
>
> case "$filter_subdir" inArrgh! I should have indented these lines so that they do not count as patch text.
Sorry.
-- Hannes