Code

avoid NULL dereference on failed malloc
[git.git] / git-add--interactive.perl
index a06172c69f59391a04b75a3866a3fbcb98a21ba0..df9f231635d2bc53073375971c1383966e2a140b 100755 (executable)
@@ -1317,7 +1317,6 @@ sub patch_update_file {
                open $fh, '| git apply --cached --recount';
                for (@{$head->{TEXT}}, @result) {
                        print $fh $_;
-                       print STDERR $_;
                }
                if (!close $fh) {
                        for (@{$head->{TEXT}}, @result) {