Skip to content

Commit fb56570

Browse files
committed
Sync with maint to grab trivial doc fixes
* maint: fix typo in documentation of git-svn Documentation/rev-list-options: add missing word in --*-parents log doc: the argument to --encoding is not optional
2 parents f5206f1 + 0bf5ce4 commit fb56570

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Documentation/git-rev-list.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ SYNOPSIS
4040
[ \--right-only ]
4141
[ \--cherry-mark ]
4242
[ \--cherry-pick ]
43-
[ \--encoding[=<encoding>] ]
43+
[ \--encoding=<encoding> ]
4444
[ \--(author|committer|grep)=<pattern> ]
4545
[ \--regexp-ignore-case | -i ]
4646
[ \--extended-regexp | -E ]

Documentation/git-svn.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ first have already been pushed into SVN.
256256
For each patch, one may answer "yes" (accept this patch), "no" (discard this
257257
patch), "all" (accept all patches), or "quit".
258258
+
259-
'git svn dcommit' returns immediately if answer if "no" or "quit", without
259+
'git svn dcommit' returns immediately if answer is "no" or "quit", without
260260
committing anything to SVN.
261261

262262
'branch'::

Documentation/pretty-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ people using 80-column terminals.
2828
This is a shorthand for "--pretty=oneline --abbrev-commit"
2929
used together.
3030

31-
--encoding[=<encoding>]::
31+
--encoding=<encoding>::
3232
The commit objects record the encoding used for the log message
3333
in their encoding header; this option can be used to tell the
3434
command to re-code the commit log message in the encoding

Documentation/rev-list-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ if it is part of the log message.
119119
--no-min-parents::
120120
--no-max-parents::
121121

122-
Show only commits which have at least (or at most) that many
122+
Show only commits which have at least (or at most) that many parent
123123
commits. In particular, `--max-parents=1` is the same as `--no-merges`,
124124
`--min-parents=2` is the same as `--merges`. `--max-parents=0`
125125
gives all root commits and `--min-parents=3` all octopus merges.

0 commit comments

Comments
 (0)