If we specify a full commit number to "git rev-parse" then it doesn't
check whether that commit really exists.
or die "rename $fullname.new to $fullname failed: $!\n";
# If we don't already have that Gnulib commit, update Gnulib.
- system ("$GIT rev-parse --verify --quiet $gnulib_commit > /dev/null");
+ system ("$GIT rev-parse --verify --quiet $gnulib_commit^0 > /dev/null");
if ($? != 0) {
start_step ("Updating Gnulib to obtain commit");
run ("$GIT fetch gnulib");