git: mark cmd_rebase as requiring a worktree
commit80dfc9242ebaba357ffedececd88641a1a752411
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 24 Jul 2019 21:15:00 +0000 (24 14:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Jul 2019 15:58:13 +0000 (25 08:58 -0700)
tree74a4b5d62c16e70f1ba834017a35db7f9f93f6a7
parentcbea64615301e7dea0cd756cf0245653ecbf6edc
git: mark cmd_rebase as requiring a worktree

We skipped marking the "rebase" built-in as requiring a .git/ directory
and a worktree only to allow to spawn the scripted version of `git
rebase`.

Now that we no longer have that escape hatch, we can change that to the
canonical form.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c
git.c