{"id":1000,"date":"2023-03-26T15:16:14","date_gmt":"2023-03-26T12:16:14","guid":{"rendered":"https:\/\/www.juustila.com\/antti\/?p=1000"},"modified":"2023-03-26T15:16:15","modified_gmt":"2023-03-26T12:16:15","slug":"nice-idea-for-my-git-log-visualiser","status":"publish","type":"post","link":"https:\/\/www.juustila.com\/antti\/2023\/03\/26\/nice-idea-for-my-git-log-visualiser\/","title":{"rendered":"Nice idea for my git log visualiser"},"content":{"rendered":"\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/til.simonwillison.net\/jq\/git-log-json\" target=\"_blank\">I could use this <\/a>excellent idea in my <a href=\"https:\/\/www.juustila.com\/antti\/2022\/10\/30\/simple-analytics-for-several-git-projects\/\" target=\"_blank\" rel=\"noreferrer noopener\">Git log visualiser<\/a>. Never thought I could do this! ?<\/p>\n\n\n\n<p>Currently I am parsing plain text output from <em>git log &#8211;numstat<\/em> command, looking at certain order of lines and line beginnings to determine what is on the line. <\/p>\n\n\n\n<p>Exporting from git log to JSON using jq like Simon does in his post would make parsing  extremely simple using Swift Codable. <\/p>\n\n\n\n<p>Posting this here to remind myself. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I could use this excellent idea in my Git log visualiser. Never thought I could do this! ? Currently I am parsing plain text output from git log &#8211;numstat command, looking at certain order of lines and line beginnings to determine what is on the line. Exporting from git log to JSON using jq like &hellip; <a href=\"https:\/\/www.juustila.com\/antti\/2023\/03\/26\/nice-idea-for-my-git-log-visualiser\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Nice idea for my git log visualiser&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":true},"categories":[2],"tags":[19,67,66,46,12,112],"class_list":["post-1000","post","type-post","status-publish","format-standard","hentry","category-coding","tag-git","tag-jq","tag-json","tag-swift","tag-teaching","tag-visualisation"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/posts\/1000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/comments?post=1000"}],"version-history":[{"count":1,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/posts\/1000\/revisions"}],"predecessor-version":[{"id":1001,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/posts\/1000\/revisions\/1001"}],"wp:attachment":[{"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/media?parent=1000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/categories?post=1000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.juustila.com\/antti\/wp-json\/wp\/v2\/tags?post=1000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}