[PATCH 2/3] Document a couple of missing command-line options.
From: Nikolai Weibull <hidden>
Date: 2016-06-15 22:42:11
Subsystem:
documentation, the rest · Maintainers:
Jonathan Corbet, Linus Torvalds
This patch adds documentation to quite a few command-line options. Signed-off-by: Nikolai Weibull <redacted> --- Documentation/git-checkout-index.txt | 10 +++++----- Documentation/git-prune-packed.txt | 6 ++++++ Documentation/git-read-tree.txt | 4 ++++ 3 files changed, 15 insertions(+), 5 deletions(-) applies-to: fc4d52c0050cf3af0aa501ba7e33d3e0622f0fdc 798cec0159df6f4fefd35c63ad4a59a0399bbd22
diff --git a/Documentation/git-checkout-index.txt b/Documentation/git-checkout-index.txt
index 94b283a..5bff486 100644
--- a/Documentation/git-checkout-index.txt
+++ b/Documentation/git-checkout-index.txt@@ -18,21 +18,21 @@ Will copy all files listed from the inde OPTIONS ------- --u:: +-u|--index:: update stat information for the checked out entries in the index file. --q:: +-q|--quiet:: be quiet if files exist or are not in the index --f:: +-f|--force:: forces overwrite of existing files --a:: +-a|--all:: checks out all files in the index. Cannot be used together with explicit filenames. --n:: +-n|--no-create:: Don't checkout new files, only refresh files already checked out.
diff --git a/Documentation/git-prune-packed.txt b/Documentation/git-prune-packed.txt
index 28a1500..8d96a91 100644
--- a/Documentation/git-prune-packed.txt
+++ b/Documentation/git-prune-packed.txt@@ -23,6 +23,12 @@ compression applied, stored in a single Packs are used to reduce the load on mirror systems, backup engines, disk storage, etc. +OPTIONS +------- +-n:: + Don't actually remove any objects, only show those that would have been + removed. + Author ------ Written by Linus Torvalds <torvalds@osdl.org>
diff --git a/Documentation/git-read-tree.txt b/Documentation/git-read-tree.txt
index e219c6a..7be0cbd 100644
--- a/Documentation/git-read-tree.txt
+++ b/Documentation/git-read-tree.txt@@ -30,6 +30,10 @@ OPTIONS -m:: Perform a merge, not just a read. +--reset:: + + Same as -m except that unmerged entries will be silently ignored. + -u:: After a successful merge, update the files in the work tree with the result of the merge.
--- 0.99.9g