Re: [PATCH v3 2/4] rebase: learn to rebase root commit
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 2, 2009, 23:06 UTC
- Message-ID
- <7vljttb95u.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <7c74d8be216b4667f470e34644c4aa26dcfe0cfb.1230935095.git.trast@student.ethz.ch>
> # If a hook exists, give it a chance to interrupt
> -run_pre_rebase_hook ${1+"$@"}
> +run_pre_rebase_hook $root_flag $upstream_name "$@"You'd have to quote the $upstream_name properly here, because the original command line could well have been:
$ git rebase 'master@{3 days ago}'