{"thread":{"id":"32915","subject":"supports diff.context config for git-diff-tree","startedAt":"2013-02-15T23:52:23Z","lastAt":"2013-02-16T00:00:28Z","messageCount":2,"participants":["乙酸鋰","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"209571","messageId":"CAHtLG6TPs=Z2i8s3_dd_igztuvuqE5L93cTtBM4q1zDCzpU55w@mail.gmail.com","threadId":"32915","inReplyTo":null,"subject":"supports diff.context config for git-diff-tree","fromName":"乙酸鋰","fromEmail":"ch3cooli@gmail.com","sentAt":"2013-02-15T23:52:23Z","receivedAt":"2013-02-15T23:52:23Z","isPatch":false,"sender":{"key":"ch3cooli@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2804967?v=4"},"body":"Dear Sir,\n\nIn git 1.8.1, git-diff supports diff.context config.\nHowever, git-diff-tree does not support this.\nCould you also add this to git-diff-tree?\n\nRegards,\nch3cooli\n"},{"id":"209572","messageId":"7vhaldf7qb.fsf@alter.siamese.dyndns.org","threadId":"32915","inReplyTo":"CAHtLG6TPs=Z2i8s3_dd_igztuvuqE5L93cTtBM4q1zDCzpU55w@mail.gmail.com","subject":"Re: supports diff.context config for git-diff-tree","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-02-16T00:00:28Z","receivedAt":"2013-02-16T00:00:28Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"乙酸鋰 <ch3cooli@gmail.com> writes:\n\n> In git 1.8.1, git-diff supports diff.context config.\n> However, git-diff-tree does not support this.\n> Could you also add this to git-diff-tree?\n\nThat's more or less deliberate, isn't it?\n\nCosmetic details of the output from plumbing commands should not be\naffected by random configuration variables the user happens to have\nand break the assumption your script that reads their output makes.\n\nIf your custom Porcelain that is built using the plumbing commands\nwants to honor such UI level configuration variables, \"git config\"\nis there for that exact purpose.\n"}]}