From: "Väinö Järvelä" <v@pp.inet.fi>
To: git@vger.kernel.org
Cc: "Junio C Hamano" <gitster@pobox.com>, "Väinö Järvelä" <v@pp.inet.fi>
Subject: [PATCH 2/2] Documented "--only-untracked" flag.
Date: Thu, 23 Aug 2007 22:58:32 +0300 [thread overview]
Message-ID: <11878991173082-git-send-email-v@pp.inet.fi> (raw)
Message-ID: <4ec861b086e2d349289f956ea0fe9f4d0559a568.1187897406.git.v@pp.inet.fi> (raw)
In-Reply-To: <11878991123605-git-send-email-v@pp.inet.fi>
In-Reply-To: <4fcfda4a654b003f3ae3dc8d56424b5f59f48093.1187897406.git.v@pp.inet.fi>
Also moved a paragraph about git-status options from description
section, to options section. Which makes it easier to quickly search for
git-status options without reading the description, even though the
description for options forwards to git-commit manual.
Signed-off-by: Väinö Järvelä <v@pp.inet.fi>
---
Documentation/git-runstatus.txt | 4 +++-
Documentation/git-status.txt | 17 ++++++++++++-----
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/Documentation/git-runstatus.txt b/Documentation/git-runstatus.txt
index dee5d0d..56af1c1 100644
--- a/Documentation/git-runstatus.txt
+++ b/Documentation/git-runstatus.txt
@@ -8,7 +8,7 @@ git-runstatus - A helper for git-status and git-commit
SYNOPSIS
--------
-'git-runstatus' [--color|--nocolor] [--amend] [--verbose] [--untracked]
+'git-runstatus' [--color|--nocolor] [--amend] [--verbose] [--untracked] [--only-tracked]
DESCRIPTION
@@ -47,6 +47,8 @@ OPTIONS
option only its name and a trailing slash are displayed
for each untracked directory.
+--only-tracked:
+ Hide untracked files from the output.
OUTPUT
------
diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt
index 8fd0fc6..de9f5ff 100644
--- a/Documentation/git-status.txt
+++ b/Documentation/git-status.txt
@@ -8,7 +8,7 @@ git-status - Show the working tree status
SYNOPSIS
--------
-'git-status' <options>...
+'git-status' [--only-tracked] <options>...
DESCRIPTION
-----------
@@ -23,10 +23,6 @@ If there is no path that is different between the index file and
the current HEAD commit, the command exits with non-zero
status.
-The command takes the same set of options as `git-commit`; it
-shows what would be committed if the same options are given to
-`git-commit`.
-
If any paths have been touched in the working tree (that is,
their modification times have changed) but their contents and
permissions are identical to those in the index file, the command
@@ -35,6 +31,17 @@ subsequent operations such as `git-diff` if the working tree
contains many paths that have been touched but not modified.
+OPTIONS
+-------
+--only-tracked::
+ Hide untracked files from the output.
+
+<options>::
+ The command takes the same set of options as `git-commit`; it
+ shows what would be committed if the same options are given to
+ `git-commit`.
+
+
OUTPUT
------
The output from this command is designed to be used as a commit
--
1.5.3.rc6.17.g1911-dirty
next prev parent reply other threads:[~2007-08-23 19:59 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4fcfda4a654b003f3ae3dc8d56424b5f59f48093.1187897406.git.v@pp.inet.fi>
2007-08-23 19:58 ` [PATCH 1/2] Add "--only-untracked" flag to status commands Väinö Järvelä
2007-08-23 20:50 ` Matthieu Moy
2007-08-24 6:28 ` Väinö Järvelä
[not found] ` <4ec861b086e2d349289f956ea0fe9f4d0559a568.1187897406.git.v@pp.inet.fi>
2007-08-23 19:58 ` Väinö Järvelä [this message]
2007-08-23 20:32 ` Alex Riesen
2007-08-24 6:35 ` Väinö Järvelä
2007-08-24 7:40 ` Jakub Narebski
2007-08-27 13:18 ` Andreas Ericsson
2007-08-24 7:46 ` Junio C Hamano
2007-08-24 9:31 ` Väinö Järvelä
2007-08-24 9:55 ` Johannes Schindelin
2007-08-24 10:52 ` Väinö Järvelä
2007-08-25 14:39 ` Johannes Schindelin
2007-08-24 11:40 ` Matthieu Moy
2007-08-24 22:47 ` Jakub Narebski
2007-08-24 23:06 ` Junio C Hamano
2007-08-25 6:16 ` Väinö Järvelä
2007-08-25 14:42 ` Johannes Schindelin
2007-08-24 22:33 ` Alex Riesen
2007-08-25 5:37 ` Väinö Järvelä
2007-08-25 6:10 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11878991173082-git-send-email-v@pp.inet.fi \
--to=v@pp.inet.fi \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).