author | Thomas Rast <trast@student.ethz.ch> | |
Fri, 6 Feb 2009 19:30:01 +0000 (20:30 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 7 Feb 2009 08:37:36 +0000 (00:37 -0800) | ||
commit | 748aa689bac2c1dd5d902815b0dec6364d20bf34 | |
tree | e75bb75d10c5da84beca3a0ede816272c72471bc | tree | snapshot |
parent | a301973641f426ab42e5bf9faa6e4da5bd658148 | commit | diff |
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 <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl | diff | blob | history |