rebase--interactive: don't require what's rebased to be a branch
authorDave Olszewski <cxreg@pobox.com>
Mon, 15 Mar 2010 04:48:22 +0000 (21:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Mar 2010 06:08:09 +0000 (23:08 -0700)
commit2ec33cdd19bd80308fcef45828e37e79c4b56dc5
treeb6349412abf63f39f70dc2fb4c262d72b4f86d23
parent3a27f415dfa46bd9e5b693abcac708903d3134f4
rebase--interactive: don't require what's rebased to be a branch

git rebase allows you to specify a non-branch commit-ish as the "branch"
argument, which leaves HEAD detached when it's finished.  This is
occasionally useful, and this patch brings the same functionality to git
rebase --interactive.

Signed-off-by: Dave Olszewski <cxreg@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh
t/t3404-rebase-interactive.sh