{"thread":{"id":"17200","subject":"Is there a way to exclude some file from a diff?","startedAt":"2009-01-16T07:04:57Z","lastAt":"2009-01-16T07:04:57Z","messageCount":1,"participants":["Ping Yin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"100702","messageId":"46dff0320901152304l2d5d6fcavb5207375cabe9d53@mail.gmail.com","threadId":"17200","inReplyTo":null,"subject":"Is there a way to exclude some file from a diff?","fromName":"Ping Yin","fromEmail":"pkufranky@gmail.com","sentAt":"2009-01-16T07:04:57Z","receivedAt":"2009-01-16T07:04:57Z","isPatch":false,"sender":{"key":"pkufranky@gmail.com","avatar":"https://avatars.githubusercontent.com/u/5346?v=4"},"body":"Something similar to\n\ngit diff --exclude=\".gitignore\" A..B\n\nThere are so many directories, so using \"git diff path1 path2\" is inapposite.\n\n\nPing Yin\n"}]}