{"thread":{"id":"3530","subject":"[PATCH] annotate should number lines starting with 1","startedAt":"2006-03-02T23:27:31Z","lastAt":"2006-03-03T07:09:48Z","messageCount":3,"participants":["Luck, Tony","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"17083","messageId":"200603022327.k22NRVek023304@agluck-lia64.sc.intel.com","threadId":"3530","inReplyTo":null,"subject":"[PATCH] annotate should number lines starting with 1","fromName":"Luck, Tony","fromEmail":"tony.luck@intel.com","sentAt":"2006-03-02T23:27:31Z","receivedAt":"2006-03-02T23:27:31Z","isPatch":true,"sender":{"key":"tony.luck@intel.com","avatar":"https://avatars.githubusercontent.com/u/5446021?v=4"},"body":"C programmers are well used to counting from zero, but every\nother text file tool starts counting from 1.\n\nSigned-off-by: Tony Luck <tony.luck@intel.com>\n\n---\n\ndiff --git a/git-annotate.perl b/git-annotate.perl\nindex 08d479f..d93ee19 100755\n--- a/git-annotate.perl\n+++ b/git-annotate.perl\n@@ -128,7 +128,7 @@ foreach my $l (@filelines) {\n \t}\n \n \tprintf(\"%s\\t(%10s\\t%10s\\t%d)%s\\n\", $rev, $committer,\n-\t\tformat_date($date), $i++, $output);\n+\t\tformat_date($date), ++$i, $output);\n }\n \n sub init_claim {\n"},{"id":"17100","messageId":"7vfym02ee0.fsf@assigned-by-dhcp.cox.net","threadId":"3530","inReplyTo":"200603022327.k22NRVek023304@agluck-lia64.sc.intel.com","subject":"Re: [PATCH] annotate should number lines starting with 1","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-03-03T07:09:27Z","receivedAt":"2006-03-03T07:09:27Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Luck, Tony\" <tony.luck@intel.com> writes:\n\n> C programmers are well used to counting from zero, but every\n> other text file tool starts counting from 1.\n\nThanks.\n\nI agree with this patch 100%, so I am going to take this patch.\n\nBut git-cvsserver might need some adjustments.\nMartin?\n"},{"id":"17101","messageId":"7vek1k2edf.fsf@assigned-by-dhcp.cox.net","threadId":"3530","inReplyTo":"200603022327.k22NRVek023304@agluck-lia64.sc.intel.com","subject":"Re: [PATCH] annotate should number lines starting with 1","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-03-03T07:09:48Z","receivedAt":"2006-03-03T07:09:48Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Luck, Tony\" <tony.luck@intel.com> writes:\n\n> C programmers are well used to counting from zero, but every\n> other text file tool starts counting from 1.\n\nThanks.\n\nI agree with this patch 100%, so I am going to take this patch.\n\nBut git-cvsserver might need some adjustments.\nMartin?\n"}]}