add -p: import Term::ReadKey with 'require'
authorThomas Rast <redacted>
Fri, 6 Feb 2009 19:30:01 +0000 (20:30 +0100)
committerJunio C Hamano <redacted>
Sat, 7 Feb 2009 08:37:36 +0000 (00:37 -0800)
commit748aa689bac2c1dd5d902815b0dec6364d20bf34
treee75bb75d10c5da84beca3a0ede816272c72471bc
parenta301973641f426ab42e5bf9faa6e4da5bd658148
add -p: import Term::ReadKey with 'require'

eval{use...} is no good because the 'use' is evaluated at compile
time, so manually 'require' it.  We need to forward declare the
functions we use, otherwise Perl raises a compilation error.

Signed-off-by: Thomas Rast <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-add--interactive.perl
git clone https://git.99rst.org/PROJECT