Re: Bug in git rebase -i where <upstream> is "HEAD" in 1.5.4?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adam Roben <aroben@...>
Cc: <git@...>, Johannes Schindelin <Johannes.Schindelin@...>
Date: Thursday, February 7, 2008 - 7:32 pm

Adam Roben <aroben@apple.com> writes:


Yes, I remember writing that side carefully, taking exactly this
issue into account.


Yeah, I see that interactive side is sloppier.  In
git-rebase--interactive.sh, if you move

        HEAD=$(git rev-parse --verify HEAD) || die "No HEAD?"
        UPSTREAM=$(git rev-parse --verify "$1") || die "Invalid base"

around l.481 up so that they come before if test !  -z "$2",
you would be Ok, although I didn't test it.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Bug in git rebase -i where <upstream> is "HEAD" in 1.5.4?, Junio C Hamano, (Thu Feb 7, 7:32 pm)