Skip to content

Commit 3f971fc

Browse files
author
Junio C Hamano
committed
Documentation updates.
Linus brought up that documentation for many commands have incorrect attribution. I started counting lines again, but ended up adding a handful of missing manual pages. Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 068eac9 commit 3f971fc

13 files changed

+231
-17
lines changed

Documentation/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,4 @@ clean:
5353

5454
%.xml : %.txt
5555
asciidoc -b docbook -d manpage $<
56+

Documentation/git-apply-patch-script.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
git-apply-patch-script(1)
22
=========================
3-
v0.1, May 2005
3+
v0.99.4, May 2005
44

55
NAME
66
----
@@ -20,7 +20,7 @@ family of commands report to the current work tree.
2020

2121
Author
2222
------
23-
Written by Linus Torvalds <torvalds@osdl.org>
23+
Written by Junio C Hamano <junkio@cox.net>
2424

2525
Documentation
2626
--------------

Documentation/git-commit-script.txt

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ git-commit-script - Record your changes
88

99
SYNOPSIS
1010
--------
11-
'git commit' [-a] [(-c | -C) <commit> | -F <file> | -m <msg>] <file>...
11+
'git commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>] <file>...
1212

1313
DESCRIPTION
1414
-----------
@@ -36,13 +36,26 @@ OPTIONS
3636
-m <msg>::
3737
Use the given <msg> as the commit message.
3838

39+
-s::
40+
Add Signed-off-by line at the end of the commit message.
41+
42+
-v::
43+
Look for suspicious lines the commit introduces, and
44+
abort committing if there is one. The definition of
45+
'suspicious lines' is currently the lines that has
46+
trailing whitespaces, and the lines whose indentation
47+
has a SP character immediately followed by a TAB
48+
character.
49+
3950
<file>...::
4051
Update specified paths in the index file.
4152

4253

4354
Author
4455
------
45-
Written by Linus Torvalds <torvalds@osdl.org>
56+
Written by Linus Torvalds <torvalds@osdl.org> and
57+
Junio C Hamano <junkio@cox.net>
58+
4659

4760
GIT
4861
---

Documentation/git-fetch-script.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
git-fetch-script(1)
22
===================
3-
v0.1, July 2005
3+
v0.99.4, Aug 2005
44

55
NAME
66
----
@@ -36,7 +36,8 @@ include::pull-fetch-param.txt[]
3636

3737
Author
3838
------
39-
Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano <junkio@cox.net>
39+
Written by Linus Torvalds <torvalds@osdl.org> and
40+
Junio C Hamano <junkio@cox.net>
4041

4142
Documentation
4243
--------------

Documentation/git-log-script.txt

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
git-log-script(1)
2+
=================
3+
v0.99.4, Aug 2005
4+
5+
NAME
6+
----
7+
git-log-script - Show commit logs
8+
9+
10+
SYNOPSIS
11+
--------
12+
'git log' <option>...
13+
14+
DESCRIPTION
15+
-----------
16+
Shows the commit logs. This command internally invokes
17+
'git-rev-list', and the command line options are passed to that
18+
command.
19+
20+
This manual page describes only the most frequently used options.
21+
22+
OPTIONS
23+
-------
24+
--pretty=<format>:
25+
Controls the way the commit log is formatted.
26+
27+
--max-count=<n>::
28+
Limits the number of commits to show.
29+
30+
<since>..<until>::
31+
Show only commits between the named two commits.
32+
33+
34+
Author
35+
------
36+
Written by Linus Torvalds <torvalds@osdl.org>
37+
38+
Documentation
39+
--------------
40+
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
41+
42+
GIT
43+
---
44+
Part of the link:git.html[git] suite
45+

Documentation/git-merge-one-file-script.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
git-merge-one-file-script(1)
22
============================
3-
v0.1, May 2005
3+
v0.99.4, Aug 2005
44

55
NAME
66
----
@@ -18,7 +18,8 @@ to resolve a merge after the trivial merge done with "git-read-tree -m".
1818

1919
Author
2020
------
21-
Written by Linus Torvalds <torvalds@osdl.org>
21+
Written by Linus Torvalds <torvalds@osdl.org>,
22+
Junio C Hamano <junkio@cox.net> and Petr Baudis <pasky@suse.cz>.
2223

2324
Documentation
2425
--------------

Documentation/git-pull-script.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
git-pull-script(1)
22
==================
3-
v0.1, May 2005
3+
v0.99.4, Aug 2005
44

55
NAME
66
----
@@ -25,7 +25,8 @@ include::pull-fetch-param.txt[]
2525

2626
Author
2727
------
28-
Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano <junkio@cox.net>
28+
Written by Linus Torvalds <torvalds@osdl.org>
29+
and Junio C Hamano <junkio@cox.net>
2930

3031
Documentation
3132
--------------

Documentation/git-resolve-script.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
git-resolve-script(1)
22
=====================
3-
v0.1, May 2005
3+
v0.99.4, Aug 2005
44

55
NAME
66
----
@@ -18,7 +18,8 @@ This script is used by Linus to merge two trees.
1818

1919
Author
2020
------
21-
Written by Linus Torvalds <torvalds@osdl.org>
21+
Written by Linus Torvalds <torvalds@osdl.org> and
22+
Dan Holmsand <holmsand@gmail.com>.
2223

2324
Documentation
2425
--------------

Documentation/git-shortlog.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
git-shortlog(1)
2+
===============
3+
v0.99.4, Aug 2005
4+
5+
NAME
6+
----
7+
git-shortlog - Summarize 'git log' output.
8+
9+
10+
SYNOPSIS
11+
--------
12+
'git log --pretty=short | git shortlog'
13+
14+
DESCRIPTION
15+
-----------
16+
Summarizes 'git log' output in a format suitable for inclusion
17+
in release announcements.
18+
19+
20+
Author
21+
------
22+
Written by Jeff Garzik <jgarzik@pobox.com>
23+
24+
Documentation
25+
--------------
26+
Documentation by Junio C Hamano.
27+
28+
GIT
29+
---
30+
Part of the link:git.html[git] suite
31+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
git-status-script(1)
2+
====================
3+
v0.99.4, Aug 2005
4+
5+
NAME
6+
----
7+
git-status-script - Show working tree status.
8+
9+
10+
SYNOPSIS
11+
--------
12+
'git status'
13+
14+
DESCRIPTION
15+
-----------
16+
Examines paths in the working tree that has changes unrecorded
17+
to the index file, and changes between the index file and the
18+
current HEAD commit. The former paths are what you _could_
19+
commit by running 'git-update-cache' before running 'git
20+
commit', and the latter paths are what you _would_ commit by
21+
running 'git commit'.
22+
23+
If there is no path that is different between the index file and
24+
the current HEAD commit, the command exits with non-zero
25+
status.
26+
27+
28+
OUTPUT
29+
------
30+
The output from this command is designed to be used as a commit
31+
template comments, and all the output lines are prefixed with '#'.
32+
33+
34+
Author
35+
------
36+
Written by Linus Torvalds <torvalds@osdl.org> and
37+
Junio C Hamano <junkio@cox.net>.
38+
39+
Documentation
40+
--------------
41+
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
42+
43+
GIT
44+
---
45+
Part of the link:git.html[git] suite
46+

0 commit comments

Comments
 (0)