rebase -i: don't error out if $state_dir already exists
commit1224f3d0f1b47fc640e76b053f25d91e3ca84bcf
authorRamkumar Ramachandra <artagnon@gmail.com>
Sun, 12 May 2013 11:56:36 +0000 (12 17:26 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 May 2013 06:20:07 +0000 (12 23:20 -0700)
tree023b280194a6eac156b48a6d875745f22d30d2fa
parentc30754f188a4f1bcd35d81d898086fea33524bd6
rebase -i: don't error out if $state_dir already exists

In preparation for a later patch that will create $state_dir/autostash
in git-rebase.sh before anything else can happen, change a `mkdir
$state_dir` call to `mkdir -p $state_dir`.  The change is safe,
because this is not a test to detect an in-progress rebase (that is
already done much earlier in git-rebase.sh).

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh