diff options
author | Thomas Badie <thomas.badie@gmail.com> | 2012-06-24 23:37:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-25 10:06:09 -0700 |
commit | 70969f775d28d7d7dc1f0688f71741f6260d442b (patch) | |
tree | 2683375ddcdb7b3f1a4314679de07dfbdcde1ffe /git-add--interactive.perl | |
parent | 8d8136c37a98bfb545f46990e3854df3414c3528 (diff) | |
download | git-70969f775d28d7d7dc1f0688f71741f6260d442b.tar.gz |
git-add--interactive.perl: Remove two unused variables
The patch 8f0bef6 refactored this script and made the variable $fh
unneeded in subs diff_applies and patch_update_file, but forgot to
remove them.
Signed-off-by: Thomas Badie <badie@lrde.epita.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-add--interactive.perl')
-rwxr-xr-x | git-add--interactive.perl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/git-add--interactive.perl b/git-add--interactive.perl index d948aa88db..710764abb1 100755 --- a/git-add--interactive.perl +++ b/git-add--interactive.perl @@ -1067,7 +1067,6 @@ EOF } sub diff_applies { - my $fh; return run_git_apply($patch_mode_flavour{APPLY_CHECK} . ' --check', map { @{$_->{TEXT}} } @_); } @@ -1514,7 +1513,6 @@ sub patch_update_file { } if (@result) { - my $fh; my @patch = reassemble_patch($head->{TEXT}, @result); my $apply_routine = $patch_mode_flavour{APPLY}; &$apply_routine(@patch); |