Skip to content

Commit

Permalink
git-add--interactive: warn if module for interactive.singlekey is mis…
Browse files Browse the repository at this point in the history
…sing

Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Simon Ruderich <simon@ruderich.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Simon Ruderich authored and Junio C Hamano committed Mar 3, 2014
1 parent 8358f1a commit b294097
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git-add--interactive.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b294097

Please sign in to comment.