{"thread":{"id":"16506","subject":"[PATCH 3/5] Removed unused variables prev and next.","startedAt":"2008-11-27T21:10:23Z","lastAt":"2008-11-28T01:28:44Z","messageCount":2,"participants":["William Pursell","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":5},"messages":[{"id":"96637","messageId":"492F0CBF.3010202@gmail.com","threadId":"16506","inReplyTo":null,"subject":"[PATCH 3/5] Removed unused variables prev and next.","fromName":"William Pursell","fromEmail":"bill.pursell@gmail.com","sentAt":"2008-11-27T21:10:23Z","receivedAt":"2008-11-27T21:10:23Z","isPatch":true,"sender":{"key":"bill.pursell@gmail.com","avatar":"https://gravatar.com/avatar/3ab4313e5dfdc1fedb65206d829ba33f71f56f26e11326979d1b99d5e1c403c9?d=mp&s=160"},"body":"\n\n---\n  git-add--interactive.perl |    4 +---\n  1 files changed, 1 insertions(+), 3 deletions(-)\n\ndiff --git a/git-add--interactive.perl b/git-add--interactive.perl\nindex b530597..0d51cb2 100755\n--- a/git-add--interactive.perl\n+++ b/git-add--interactive.perl\n@@ -878,7 +878,7 @@ sub patch_update_file {\n  \t$ix = 0;\n\n  \twhile (1) {\n-\t\tmy ($prev, $next, $commands, $undecided, $i);\n+\t\tmy ($commands, $undecided, $i);\n  \t\t$commands = 'ynad';\n\n  \t\tif ($num <= $ix) {\n@@ -886,7 +886,6 @@ sub patch_update_file {\n  \t\t}\n  \t\tfor ($i = 0; $i < $ix; $i++) {\n  \t\t\tif (!defined $hunk[$i]{USE}) {\n-\t\t\t\t$prev = 1;\n  \t\t\t\t$commands .= 'k';\n  \t\t\t\tlast;\n  \t\t\t}\n@@ -896,7 +895,6 @@ sub patch_update_file {\n  \t\t}\n  \t\tfor ($i = $ix + 1; $i < $num; $i++) {\n  \t\t\tif (!defined $hunk[$i]{USE}) {\n-\t\t\t\t$next = 1;\n  \t\t\t\t$commands .= 'j';\n  \t\t\t\tlast;\n  \t\t\t}\n-- \n1.6.0.4.782.geea74.dirty\n\n\n-- \nWilliam Pursell\n"},{"id":"96665","messageId":"7vabbkabar.fsf@gitster.siamese.dyndns.org","threadId":"16506","inReplyTo":"492F0CBF.3010202@gmail.com","subject":"Re: [PATCH 3/5] Removed unused variables prev and next.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-11-28T01:28:44Z","receivedAt":"2008-11-28T01:28:44Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Hmm, I was hoping that use of these instead of $other =~ /,k/ might be\nmore efficient some day, but Ok.\n"}]}