From: Ramkumar Ramachandra Date: Fri, 19 Jul 2013 11:36:59 GMT Subject: Re: [RFC] checkout --rebase Message-ID: In-Reply-To: Ramkumar Ramachandra wrote: > diff --git a/git-rebase.sh b/git-rebase.sh > index 0039ecf..7405d9a 100755 > --- a/git-rebase.sh > +++ b/git-rebase.sh Er, sorry. I think it suffices to check that $branch_name equals HEAD, for this optimization.