{"thread":{"id":"43595","subject":"[PATCH] Make git-diff documentation use [--] when it should.","startedAt":"2006-12-15T12:39:33Z","lastAt":"2006-12-15T12:39:33Z","messageCount":1,"participants":["Brian Gernhardt"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"295767","messageId":"20061215123933.GB21322@162.242.249.10.in-addr.arpa","threadId":"43595","inReplyTo":null,"subject":"[PATCH] Make git-diff documentation use [--] when it should.","fromName":"Brian Gernhardt","fromEmail":"benji@silverinsanity.com","sentAt":"2006-12-15T12:39:33Z","receivedAt":"2006-12-15T12:39:33Z","isPatch":true,"sender":{"key":"benji@silverinsanity.com","avatar":"https://gravatar.com/avatar/e06c101dbc25c68114d859b4a9ec7cf8a2c52fd2b0270ef0eac0e2e63ff22311?d=mp&s=160"},"body":"Two of the cases has \"[--] [<path>...]\" and two had \"-- [<path>...]\".\nNot terribly consistent and potentially confusing.  Also add \"[--]\" to\nthe synopsis so that it's obvious you can use it from the very\nbeginning.\n\nSigned-off-by: Brian Gernhardt <benji@silverinsanity.com>\n---\n Documentation/git-diff.txt |    6 +++---\n 1 files changed, 3 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/git-diff.txt b/Documentation/git-diff.txt\nindex 127d68c..10fdf88 100644\n--- a/Documentation/git-diff.txt\n+++ b/Documentation/git-diff.txt\n@@ -8,7 +8,7 @@ git-diff - Show changes between commits, commit and working tree, etc\n \n SYNOPSIS\n --------\n-'git-diff' [ --diff-options ] <tree-ish>{0,2} [<path>...]\n+'git-diff' [ --diff-options ] <tree-ish>{0,2} [--] [<path>...]\n \n DESCRIPTION\n -----------\n@@ -30,7 +30,7 @@ tree and the index file, or the index file and the working tree.\n \twould want comparison with the latest commit, so if you\n \tdo not give <commit>, it defaults to HEAD.\n \n-'git-diff' [--options] <commit> -- [<path>...]::\n+'git-diff' [--options] <commit> [--] [<path>...]::\n \n \tThis form is to view the changes you have in your\n \tworking tree relative to the named <commit>.  You can\n@@ -38,7 +38,7 @@ tree and the index file, or the index file and the working tree.\n \tbranch name to compare with the tip of a different\n \tbranch.\n \n-'git-diff' [--options] <commit> <commit> -- [<path>...]::\n+'git-diff' [--options] <commit> <commit> [--] [<path>...]::\n \n \tThis form is to view the changes between two <commit>,\n \tfor example, tips of two branches.\n-- \n1.4.4.1.GIT\n"}]}