From: Junio C Hamano Date: Fri, 02 Jan 2009 23:06:05 GMT Subject: Re: [PATCH v3 2/4] rebase: learn to rebase root commit 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}'