From: Mark Lodato Date: Sat, 18 Dec 2010 05:38:43 GMT Subject: [PATCH 6/8] docs: use instead of Message-ID: <1292650725-21149-7-git-send-email-lodatom@gmail.com> In-Reply-To: <1292650725-21149-1-git-send-email-lodatom@gmail.com> No git command, besides commit-tree, accepts only a tree and not a tree-ish, so let us remove the latter term from common usage in the documentation in order to reduce the amount of jargon. The term "tree-ish" was left in the following situations: - all comments in the code - situations where "tree-ish" is being contrasted to "tree" - error messages, to prevent porcelains from changing - tests - the glossary Signed-off-by: Mark Lodato --- Documentation/RelNotes/1.6.2.4.txt | 2 +- Documentation/diff-format.txt | 10 +++++----- Documentation/diff-generate-patch.txt | 2 +- Documentation/git-archive.txt | 4 ++-- Documentation/git-cat-file.txt | 2 +- Documentation/git-checkout.txt | 16 ++++++++-------- Documentation/git-commit-tree.txt | 3 ++- Documentation/git-diff-index.txt | 4 ++-- Documentation/git-diff-tree.txt | 14 +++++++------- Documentation/git-grep.txt | 4 ++-- Documentation/git-ls-files.txt | 6 +++--- Documentation/git-ls-tree.txt | 6 +++--- Documentation/git-merge-tree.txt | 2 +- Documentation/git-read-tree.txt | 10 +++++----- Documentation/git-svn.txt | 6 +++--- Documentation/git-tar-tree.txt | 4 ++-- Documentation/git.txt | 11 ++++------- Documentation/gitcli.txt | 4 ++-- Documentation/gittutorial-2.txt | 6 ++---- archive.c | 4 ++-- builtin/diff-index.c | 2 +- builtin/diff-tree.c | 2 +- builtin/ls-files.c | 4 ++-- builtin/ls-tree.c | 2 +- builtin/read-tree.c | 2 +- builtin/tar-tree.c | 2 +- git-svn.perl | 6 +++--- t/t4100/t-apply-3.patch | 8 ++++---- t/t4100/t-apply-7.patch | 8 ++++---- 29 files changed, 76 insertions(+), 80 deletions(-) diff --git a/Documentation/RelNotes/1.6.2.4.txt b/Documentation/RelNotes/1.6.2.4.txt index f4bf1d0..0e36786 100644 --- a/Documentation/RelNotes/1.6.2.4.txt +++ b/Documentation/RelNotes/1.6.2.4.txt @@ -13,7 +13,7 @@ Fixes since v1.6.2.3 * "git-add -p" lacked a way to say "q"uit to refuse staging any hunks for the remaining paths. You had to say "d" and then ^C. -* "git-checkout " did not update the index entry at +* "git-checkout " did not update the index entry at the named path; it now does. * "git-fast-export" choked when seeing a tag that does not point at commit. diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt index 15c7e79..83272a0 100644 --- a/Documentation/diff-format.txt +++ b/Documentation/diff-format.txt @@ -7,13 +7,13 @@ The raw output format from "git-diff-index", "git-diff-tree", These commands all compare two sets of things; what is compared differs: -git-diff-index :: - compares the and the files on the filesystem. +git-diff-index :: + compares the and the files on the filesystem. -git-diff-index --cached :: - compares the and the index. +git-diff-index --cached :: + compares the and the index. -git-diff-tree [-r] [...]:: +git-diff-tree [-r] [...]:: compares the trees named by the two arguments. git-diff-files [...]:: diff --git a/Documentation/diff-generate-patch.txt b/Documentation/diff-generate-patch.txt index 3ac2bea..e0802de 100644 --- a/Documentation/diff-generate-patch.txt +++ b/Documentation/diff-generate-patch.txt @@ -131,7 +131,7 @@ The `mode ,..` line appears only if at least one of the is different from the rest. Extended headers with information about detected contents movement (renames and copying detection) are designed to work with diff of two - and are not used by combined diff format. + and are not used by combined diff format. 3. It is followed by two-line from-file/to-file header diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt index 4163a1b..bb4943f 100644 --- a/Documentation/git-archive.txt +++ b/Documentation/git-archive.txt @@ -11,7 +11,7 @@ SYNOPSIS [verse] 'git archive' [--format=] [--list] [--prefix=/] [] [-o | --output=] [--worktree-attributes] - [--remote= [--exec=]] + [--remote= [--exec=]] [...] DESCRIPTION @@ -70,7 +70,7 @@ OPTIONS Used with --remote to specify the path to the 'git-upload-archive' on the remote side. -:: +:: The tree or commit to produce an archive for. :: diff --git a/Documentation/git-cat-file.txt b/Documentation/git-cat-file.txt index 544ba7b..4861007 100644 --- a/Documentation/git-cat-file.txt +++ b/Documentation/git-cat-file.txt @@ -54,7 +54,7 @@ OPTIONS --textconv:: Show the content as transformed by a textconv filter. In this case, - has be of the form :, or : in order + has be of the form :, or : in order to apply the filter to the content recorded in the index at . --batch:: diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index 880763d..0199e10 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -10,8 +10,8 @@ SYNOPSIS [verse] 'git checkout' [-q] [-f] [-m] [] 'git checkout' [-q] [-f] [-m] [[-b|-B|--orphan] ] [] -'git checkout' [-f|--ours|--theirs|-m|--conflict=