* [PATCH 1/2] Document git-diff-tree --always
@ 2006-02-07 11:47 Petr Baudis
2006-02-07 11:47 ` [PATCH 2/2] Basic documentation for git-show Petr Baudis
0 siblings, 1 reply; 2+ messages in thread
From: Petr Baudis @ 2006-02-07 11:47 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
Signed-off-by: Petr Baudis <pasky@suse.cz>
---
Documentation/git-diff-tree.txt | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-diff-tree.txt b/Documentation/git-diff-tree.txt
index 674ee61..9153e4c 100644
--- a/Documentation/git-diff-tree.txt
+++ b/Documentation/git-diff-tree.txt
@@ -95,6 +95,10 @@ separated with a single space are given.
hunks disappear, the commit itself and the commit log
message is not shown, just like any other "empty diff" cases.
+--always::
+ Show the commit itself and the commit log message even
+ if the diff itself is empty.
+
Limiting Output
---------------
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] Basic documentation for git-show
2006-02-07 11:47 [PATCH 1/2] Document git-diff-tree --always Petr Baudis
@ 2006-02-07 11:47 ` Petr Baudis
0 siblings, 0 replies; 2+ messages in thread
From: Petr Baudis @ 2006-02-07 11:47 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
Signed-off-by: Petr Baudis <pasky@suse.cz>
---
Documentation/git-show.txt | 49 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 49 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-show.txt b/Documentation/git-show.txt
new file mode 100644
index 0000000..9c359a4
--- /dev/null
+++ b/Documentation/git-show.txt
@@ -0,0 +1,49 @@
+git-show(1)
+===========
+
+NAME
+----
+git-show - Show one commit with difference it introduces.
+
+
+SYNOPSIS
+--------
+'git-show' <option>...
+
+DESCRIPTION
+-----------
+Shows commit log and textual diff for a single commit. The
+command internally invokes 'git-rev-list' piped to
+'git-diff-tree', and takes command line options for both of
+these commands. It also presents the merge commit in a special
+format as produced by 'git-diff-tree --cc'.
+
+This manual page describes only the most frequently used options.
+
+
+OPTIONS
+-------
+<commitid>::
+ ID of the commit to show.
+
+--pretty=<format>::
+ Controls the output format for the commit logs.
+ <format> can be one of 'raw', 'medium', 'short', 'full',
+ and 'oneline'.
+
+Author
+------
+Written by Linus Torvalds <torvalds@osdl.org> and
+Junio C Hamano <junkio@cox.net>
+
+
+Documentation
+-------------
+Documentation by David Greaves, Petr Baudis and the git-list <git@vger.kernel.org>.
+
+This manual page is a stub. You can help the git documentation by expanding it.
+
+GIT
+---
+Part of the gitlink:git[7] suite
+
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-07 11:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-07 11:47 [PATCH 1/2] Document git-diff-tree --always Petr Baudis
2006-02-07 11:47 ` [PATCH 2/2] Basic documentation for git-show Petr Baudis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox