am: tighten a conditional that checks for $dotest
commitc30754f188a4f1bcd35d81d898086fea33524bd6
authorRamkumar Ramachandra <artagnon@gmail.com>
Sun, 12 May 2013 11:56:35 +0000 (12 17:26 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 May 2013 06:20:07 +0000 (12 23:20 -0700)
tree8a25aa16802df0a12ba4878aa653941ef445f37d
parent7d3ccdffb5d28970dd7a4d177cfcca690ccd0c22
am: tighten a conditional that checks for $dotest

In preparation for a later patch that creates $dotest/autostash in
git-rebase.sh before anything else happens, don't assume that the
presence of a $dotest directory implies the existence of the
$dotest/next and $dotest/last files.  Look for them explicitly.

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