Merge branch 'nd/sha1-file-delta-stack-leakage-fix'
[gitweb.git] / git-add--interactive.perl
index 24bb1ab9929d2cbf117051ed0e4edeb37b0efaea..d3bca1261110014b2b969f6d2fc1d73dca424204 100755 (executable)
@@ -58,6 +58,9 @@
                Term::ReadKey->import;
                $use_readkey = 1;
        };
+       if (!$use_readkey) {
+               print STDERR "missing Term::ReadKey, disabling interactive.singlekey\n";
+       }
        eval {
                require Term::Cap;
                my $termcap = Term::Cap->Tgetent;