Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-04 03:10:36 +0300
committerJunio C Hamano <gitster@pobox.com>2010-12-04 03:10:36 +0300
commit45a7b55d6fe69581d12b83f63337eaa1015b6717 (patch)
tree3d1911318c7fac20332867a64b3d13227524c636 /builtin
parent2ab32a330c32d6b31928e50c9e06a0266e144e40 (diff)
parent49bd56a5f7b09f89b59a6a77d331e8f85f6d7fde (diff)
Merge branch 'sn/diff-doc'
* sn/diff-doc: docs: clarify git diff modes of operation diff,difftool: Don't use the {0,2} notation in usage strings CodingGuidelines: Add a section on writing documentation
Diffstat (limited to 'builtin')
-rw-r--r--builtin/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/diff.c b/builtin/diff.c
index a43d326363..945e7583a8 100644
--- a/builtin/diff.c
+++ b/builtin/diff.c
@@ -22,7 +22,7 @@ struct blobinfo {
};
static const char builtin_diff_usage[] =
-"git diff <options> <rev>{0,2} -- <path>*";
+"git diff [<options>] [<commit> [<commit>]] [--] [<path>...]";
static void stuff_change(struct diff_options *opt,
unsigned old_mode, unsigned new_mode,