{"thread":{"id":"42848","subject":"[PATCH] diff: document diff-filter exclusion","startedAt":"2016-07-14T19:20:57Z","lastAt":"2016-07-14T19:27:16Z","messageCount":2,"participants":["Junio C Hamano","Stefan Beller"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"291463","messageId":"xmqq7fcoqb5a.fsf@gitster.mtv.corp.google.com","threadId":"42848","inReplyTo":null,"subject":"[PATCH] diff: document diff-filter exclusion","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2016-07-14T19:20:49Z","receivedAt":"2016-07-14T19:20:57Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"In v1.8.5 days, 7f2ea5f0 (diff: allow lowercase letter to specify\nwhat change class to exclude, 2013-07-17) taught the \"--diff-filter\"\nmechanism to take lowercase letters as exclusion, but we forgot to\ndocument it.\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>\n---\n Documentation/diff-options.txt | 3 +++\n 1 file changed, 3 insertions(+)\n\ndiff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt\nindex 3ad6404..073c7e5 100644\n--- a/Documentation/diff-options.txt\n+++ b/Documentation/diff-options.txt\n@@ -399,6 +399,9 @@ ifndef::git-format-patch[]\n \tpaths are selected if there is any file that matches\n \tother criteria in the comparison; if there is no file\n \tthat matches other criteria, nothing is selected.\n++\n+Also, these upper-case letters can be downcased to exclude.  E.g.\n+`--diff-filter=ad` excludes added and deleted paths.\n \n -S<string>::\n \tLook for differences that change the number of occurrences of\n-- \n2.9.1-545-g8c0a069\n\n"},{"id":"291464","messageId":"CAGZ79ka5ZB=vL3j0Zm3vAvdZi7jA1gPAs61NhkVABZepfcuLvw@mail.gmail.com","threadId":"42848","inReplyTo":"xmqq7fcoqb5a.fsf@gitster.mtv.corp.google.com","subject":"Re: [PATCH] diff: document diff-filter exclusion","fromName":"Stefan Beller","fromEmail":"sbeller@google.com","sentAt":"2016-07-14T19:27:10Z","receivedAt":"2016-07-14T19:27:16Z","isPatch":true,"sender":{"key":"stefanbeller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/455868?v=4"},"body":"On Thu, Jul 14, 2016 at 12:20 PM, Junio C Hamano <gitster@pobox.com> wrote:\n> In v1.8.5 days, 7f2ea5f0 (diff: allow lowercase letter to specify\n> what change class to exclude, 2013-07-17) taught the \"--diff-filter\"\n> mechanism to take lowercase letters as exclusion, but we forgot to\n> document it.\n>\n> Signed-off-by: Junio C Hamano <gitster@pobox.com>\n> ---\n>  Documentation/diff-options.txt | 3 +++\n>  1 file changed, 3 insertions(+)\n>\n> diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt\n> index 3ad6404..073c7e5 100644\n> --- a/Documentation/diff-options.txt\n> +++ b/Documentation/diff-options.txt\n> @@ -399,6 +399,9 @@ ifndef::git-format-patch[]\n>         paths are selected if there is any file that matches\n>         other criteria in the comparison; if there is no file\n>         that matches other criteria, nothing is selected.\n> ++\n> +Also, these upper-case letters can be downcased to exclude.  E.g.\n> +`--diff-filter=ad` excludes added and deleted paths.\n>\n\nThis looks good for the neighboring thread. :)\nhttp://thread.gmane.org/gmane.comp.version-control.git/299512\n"}]}