Skip to content

Commit 19d6eb4

Browse files
jrstjohngitster
authored andcommitted
Documentation/rev-list-options.txt: fix some grammatical issues and typos
Various fixes: - fix typos (e.g. "show" -> "shown") - use "regular expression(s)" instead of "regexp" where appropriate - reword some sentences for easier reading - fix/improve some grammatical issues (e.g. comma usage) - add missing articles (e.g. "the") - change "E-mail" to "email" Signed-off-by: Jason St. John <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4528aa1 commit 19d6eb4

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

Documentation/rev-list-options.txt

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ if it is part of the log message.
6868

6969
-i::
7070
--regexp-ignore-case::
71-
Match the regexp limiting patterns without regard to letters case.
71+
Match the regular expression limiting patterns without regard to letter
72+
case.
7273

7374
--basic-regexp::
7475
Consider the limiting patterns to be basic regular expressions;
@@ -85,7 +86,7 @@ if it is part of the log message.
8586
pattern as a regular expression).
8687

8788
--perl-regexp::
88-
Consider the limiting patterns to be Perl-compatible regexp.
89+
Consider the limiting patterns to be Perl-compatible regular expressions.
8990
Requires libpcre to be compiled in.
9091

9192
--remove-empty::
@@ -191,9 +192,9 @@ endif::git-rev-list[]
191192
For example, if you have two branches, `A` and `B`, a usual way
192193
to list all commits on only one side of them is with
193194
`--left-right` (see the example below in the description of
194-
the `--left-right` option). It however shows the commits that were cherry-picked
195-
from the other branch (for example, ``3rd on b'' may be cherry-picked
196-
from branch A). With this option, such pairs of commits are
195+
the `--left-right` option). However, it shows the commits that were
196+
cherry-picked from the other branch (for example, ``3rd on b'' may be
197+
cherry-picked from branch A). With this option, such pairs of commits are
197198
excluded from the output.
198199

199200
--left-only::
@@ -447,7 +448,7 @@ The effect of this is best shown by way of comparing to
447448
`---------'
448449
-----------------------------------------------------------------------
449450
+
450-
Note the major differences in `N`, `P` and `Q` over `--full-history`:
451+
Note the major differences in `N`, `P`, and `Q` over `--full-history`:
451452
+
452453
--
453454
* `N`'s parent list had `I` removed, because it is an ancestor of the
@@ -467,7 +468,7 @@ Finally, there is a fifth simplification mode available:
467468
Limit the displayed commits to those directly on the ancestry
468469
chain between the ``from'' and ``to'' commits in the given commit
469470
range. I.e. only display commits that are ancestor of the ``to''
470-
commit, and descendants of the ``from'' commit.
471+
commit and descendants of the ``from'' commit.
471472
+
472473
As an example use case, consider the following commit history:
473474
+
@@ -631,9 +632,9 @@ These options are mostly targeted for packing of Git repositories.
631632
--no-walk[=(sorted|unsorted)]::
632633
Only show the given commits, but do not traverse their ancestors.
633634
This has no effect if a range is specified. If the argument
634-
`unsorted` is given, the commits are show in the order they were
635+
`unsorted` is given, the commits are shown in the order they were
635636
given on the command line. Otherwise (if `sorted` or no argument
636-
was given), the commits are show in reverse chronological order
637+
was given), the commits are shown in reverse chronological order
637638
by commit time.
638639

639640
--do-walk::
@@ -656,7 +657,7 @@ include::pretty-options.txt[]
656657
--date=(relative|local|default|iso|rfc|short|raw)::
657658
Only takes effect for dates shown in human-readable format, such
658659
as when using `--pretty`. `log.date` config variable sets a default
659-
value for log command's `--date` option.
660+
value for the log command's `--date` option.
660661
+
661662
`--date=relative` shows dates relative to the current time,
662663
e.g. ``2 hours ago''.
@@ -666,9 +667,9 @@ e.g. ``2 hours ago''.
666667
`--date=iso` (or `--date=iso8601`) shows timestamps in ISO 8601 format.
667668
+
668669
`--date=rfc` (or `--date=rfc2822`) shows timestamps in RFC 2822
669-
format, often found in E-mail messages.
670+
format, often found in email messages.
670671
+
671-
`--date=short` shows only date but not time, in `YYYY-MM-DD` format.
672+
`--date=short` shows only the date, but not the time, in `YYYY-MM-DD` format.
672673
+
673674
`--date=raw` shows the date in the internal raw Git format `%s %z` format.
674675
+
@@ -749,7 +750,7 @@ ifndef::git-rev-list[]
749750
Diff Formatting
750751
~~~~~~~~~~~~~~~
751752

752-
Below are listed options that control the formatting of diff output.
753+
Listed below are options that control the formatting of diff output.
753754
Some of them are specific to linkgit:git-rev-list[1], however other diff
754755
options may be given. See linkgit:git-diff-files[1] for more options.
755756

0 commit comments

Comments
 (0)