All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--"
@ 2013-11-09  0:48 Jason St. John
  2013-11-09  0:48 ` [PATCH 3/4] Correct word usage of "timezone" in "Documentation" directory Jason St. John
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Jason St. John @ 2013-11-09  0:48 UTC (permalink / raw)
  To: git; +Cc: Jason St. John

rev-list-options.txt: replace e.g. `--foo` with '\--foo'
rev-list-options.txt: emphasize, instead of quote, some option arguments
    (e.g. "foo-option" becomes 'foo-option')
rev-list-options.txt: force ASCIIDOC escaping of "--" (e.g. '--bar'
    becomes '\--bar')
rev-list-options.txt: add single quote chars around options missing them
    (e.g. --grep becomes '\--grep')
rev-list-options.txt: replaced one instance of "regexp" with "regular
    expressions"
rev-list-options.txt: fix typo in "--no-walk" description ("show" -->
"shown")
rev-list-options.txt: replaced some instances of double quotes with
    their ASCIIDOC equivalent (e.g. """a "-" character""" becomes
    """a ``-'' character""",

Signed-off-by: Jason St. John <jstjohn@purdue.edu>
---
Sorry for the messy quoting in the last set of examples in the commit message.
There wasn't really any way to work around it other than omitting the quotes
around the before and after parts, which I didn't want to do.


 Documentation/rev-list-options.txt | 136 ++++++++++++++++++-------------------
 1 file changed, 68 insertions(+), 68 deletions(-)

diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 5bdfb42..32c40ae 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -6,12 +6,12 @@ special notations explained in the description, additional commit
 limiting may be applied.
 
 Using more options generally further limits the output (e.g.
-`--since=<date1>` limits to commits newer than `<date1>`, and using it
-with `--grep=<pattern>` further limits to commits whose log message
+'\--since=<date1>' limits to commits newer than `<date1>`, and using it
+with '\--grep=<pattern>' further limits to commits whose log message
 has a line that matches `<pattern>`), unless otherwise noted.
 
 Note that these are applied before commit
-ordering and formatting options, such as `--reverse`.
+ordering and formatting options, such as '\--reverse'.
 
 --
 
@@ -47,31 +47,31 @@ endif::git-rev-list[]
 
 	Limit the commits output to ones with author/committer
 	header lines that match the specified pattern (regular
-	expression).  With more than one `--author=<pattern>`,
+	expression).  With more than one '\--author=<pattern>',
 	commits whose author matches any of the given patterns are
-	chosen (similarly for multiple `--committer=<pattern>`).
+	chosen (similarly for multiple '\--committer=<pattern>').
 
 --grep-reflog=<pattern>::
 
 	Limit the commits output to ones with reflog entries that
 	match the specified pattern (regular expression). With
-	more than one `--grep-reflog`, commits whose reflog message
+	more than one '\--grep-reflog', commits whose reflog message
 	matches any of the given patterns are chosen.  It is an
-	error to use this option unless `--walk-reflogs` is in use.
+	error to use this option unless '\--walk-reflogs' is in use.
 
 --grep=<pattern>::
 
 	Limit the commits output to ones with log message that
 	matches the specified pattern (regular expression).  With
-	more than one `--grep=<pattern>`, commits whose message
+	more than one '\--grep=<pattern>', commits whose message
 	matches any of the given patterns are chosen (but see
-	`--all-match`).
+	'\--all-match').
 +
-When `--show-notes` is in effect, the message from the notes as
+When '\--show-notes' is in effect, the message from the notes as
 if it is part of the log message.
 
 --all-match::
-	Limit the commits output to ones that match all given --grep,
+	Limit the commits output to ones that match all given '\--grep',
 	instead of ones that match at least one.
 
 -i::
@@ -98,7 +98,7 @@ if it is part of the log message.
 
 --perl-regexp::
 
-	Consider the limiting patterns to be Perl-compatible regexp.
+	Consider the limiting patterns to be Perl-compatible regular expressions.
 	Requires libpcre to be compiled in.
 
 --remove-empty::
@@ -107,12 +107,12 @@ if it is part of the log message.
 
 --merges::
 
-	Print only merge commits. This is exactly the same as `--min-parents=2`.
+	Print only merge commits. This is exactly the same as '\--min-parents=2'.
 
 --no-merges::
 
 	Do not print commits with more than one parent. This is
-	exactly the same as `--max-parents=1`.
+	exactly the same as '\--max-parents=1'.
 
 --min-parents=<number>::
 --max-parents=<number>::
@@ -120,13 +120,13 @@ if it is part of the log message.
 --no-max-parents::
 
 	Show only commits which have at least (or at most) that many parent
-	commits. In particular, `--max-parents=1` is the same as `--no-merges`,
-	`--min-parents=2` is the same as `--merges`.  `--max-parents=0`
-	gives all root commits and `--min-parents=3` all octopus merges.
+	commits. In particular, '\--max-parents=1' is the same as '\--no-merges',
+	'\--min-parents=2` is the same as '\--merges'.  '\--max-parents=0'
+	gives all root commits and '\--min-parents=3' all octopus merges.
 +
-`--no-min-parents` and `--no-max-parents` reset these limits (to no limit)
-again.  Equivalent forms are `--min-parents=0` (any commit has 0 or more
-parents) and `--max-parents=-1` (negative numbers denote no upper limit).
+'\--no-min-parents' and '\--no-max-parents' reset these limits (to no limit)
+again.  Equivalent forms are '\--min-parents=0' (any commit has 0 or more
+parents) and '\--max-parents=-1' (negative numbers denote no upper limit).
 
 --first-parent::
 	Follow only the first parent commit upon seeing a merge
@@ -140,7 +140,7 @@ parents) and `--max-parents=-1` (negative numbers denote no upper limit).
 --not::
 
 	Reverses the meaning of the '{caret}' prefix (or lack thereof)
-	for all following revision specifiers, up to the next '--not'.
+	for all following revision specifiers, up to the next '\--not'.
 
 --all::
 
@@ -183,7 +183,7 @@ ifndef::git-rev-list[]
 --bisect::
 
 	Pretend as if the bad bisection ref `refs/bisect/bad`
-	was listed and as if it was followed by `--not` and the good
+	was listed and as if it was followed by '\--not' and the good
 	bisection refs `refs/bisect/good-*` on the command
 	line.
 endif::git-rev-list[]
@@ -207,7 +207,7 @@ endif::git-rev-list[]
 
 --cherry-mark::
 
-	Like `--cherry-pick` (see below) but mark equivalent commits
+	Like '\--cherry-pick' (see below) but mark equivalent commits
 	with `=` rather than omitting them, and inequivalent ones with `+`.
 
 --cherry-pick::
@@ -218,8 +218,8 @@ endif::git-rev-list[]
 +
 For example, if you have two branches, `A` and `B`, a usual way
 to list all commits on only one side of them is with
-`--left-right` (see the example below in the description of
-the `--left-right` option).  It however shows the commits that were cherry-picked
+'\--left-right' (see the example below in the description of
+the '\--left-right' option). It however shows the commits that were cherry-picked
 from the other branch (for example, "3rd on b" may be cherry-picked
 from branch A).  With this option, such pairs of commits are
 excluded from the output.
@@ -229,21 +229,21 @@ excluded from the output.
 
 	List only commits on the respective side of a symmetric range,
 	i.e. only those which would be marked `<` resp. `>` by
-	`--left-right`.
+	'\--left-right'.
 +
-For example, `--cherry-pick --right-only A...B` omits those
+For example, '\--cherry-pick \--right-only A...B' omits those
 commits from `B` which are in `A` or are patch-equivalent to a commit in
 `A`. In other words, this lists the `+` commits from `git cherry A B`.
-More precisely, `--cherry-pick --right-only --no-merges` gives the exact
+More precisely, '\--cherry-pick \--right-only \--no-merges' gives the exact
 list.
 
 --cherry::
 
-	A synonym for `--right-only --cherry-mark --no-merges`; useful to
+	A synonym for '\--right-only \--cherry-mark \--no-merges'; useful to
 	limit the output to the commits on our side and mark those that
 	have been applied to the other side of a forked history with
-	`git log --cherry upstream...mybranch`, similar to
-	`git cherry upstream mybranch`.
+	'git log \--cherry upstream...mybranch', similar to
+	'git cherry upstream mybranch'.
 
 -g::
 --walk-reflogs::
@@ -254,7 +254,7 @@ list.
 	exclude (that is, '{caret}commit', 'commit1..commit2',
 	nor 'commit1\...commit2' notations cannot be used).
 +
-With '\--pretty' format other than oneline (for obvious reasons),
+With '\--pretty' format other than 'oneline' (for obvious reasons),
 this causes the output to have two extra lines of information
 taken from the reflog.  By default, 'commit@\{Nth}' notation is
 used in the output.  When the starting commit is specified as
@@ -320,7 +320,7 @@ Default mode::
 
 --simplify-merges::
 
-	Additional option to '--full-history' to remove some needless
+	Additional option to '\--full-history' to remove some needless
 	merges from the resulting history, as there are no selected
 	commits contributing to this merge.
 
@@ -400,7 +400,7 @@ available, removed `B` from consideration entirely.  `C` was
 considered via `N`, but is TREESAME.  Root commits are compared to an
 empty tree, so `I` is !TREESAME.
 +
-Parent/child relations are only visible with --parents, but that does
+Parent/child relations are only visible with '\--parents', but that does
 not affect the commits selected in default mode, so we have shown the
 parent lines.
 
@@ -494,7 +494,7 @@ The effect of this is best shown by way of comparing to
 	  `---------'
 -----------------------------------------------------------------------
 +
-Note the major differences in `N`, `P` and `Q` over '--full-history':
+Note the major differences in `N`, `P` and `Q` over '\--full-history':
 +
 --
 * `N`'s parent list had `I` removed, because it is an ancestor of the
@@ -537,7 +537,7 @@ of course).
 When we want to find out what commits in `M` are contaminated with the
 bug introduced by `D` and need fixing, however, we might want to view
 only the subset of 'D..M' that are actually descendants of `D`, i.e.
-excluding `C` and `K`. This is exactly what the '--ancestry-path'
+excluding `C` and `K`. This is exactly what the '\--ancestry-path'
 option does. Applied to the 'D..M' range, it results in:
 +
 -----------------------------------------------------------------------
@@ -587,7 +587,7 @@ one.
 
 --bisect-vars::
 
-This calculates the same as `--bisect`, except that refs in
+This calculates the same as '\--bisect', except that refs in
 `refs/bisect/` are not used, and except that this outputs
 text ready to be eval'ed by the shell. These lines will assign the
 name of the midpoint revision to the variable `bisect_rev`, and the
@@ -604,15 +604,15 @@ This outputs all the commit objects between the included and excluded
 commits, ordered by their distance to the included and excluded
 commits. Refs in `refs/bisect/` are not used. The farthest
 from them is displayed first. (This is the only one displayed by
-`--bisect`.)
+'\--bisect'.)
 +
 This is useful because it makes it easy to choose a good commit to
 test when you want to avoid to test some of them for some reason (they
 may not compile for example).
 +
-This option can be used along with `--bisect-vars`, in this case,
+This option can be used along with '\--bisect-vars', in this case,
 after all the sorted commit objects, there will be the same text as if
-`--bisect-vars` had been used alone.
+'\--bisect-vars' had been used alone.
 endif::git-rev-list[]
 
 
@@ -645,10 +645,10 @@ For example, in a commit history like this:
 ----------------------------------------------------------------
 +
 where the numbers denote the order of commit timestamps, `git
-rev-list` and friends with `--date-order` show the commits in the
+rev-list` and friends with '\--date-order' show the commits in the
 timestamp order: 8 7 6 5 4 3 2 1.
 +
-With `--topo-order`, they would show 8 6 5 3 7 4 2 1 (or 8 7 4 2 6 5
+With '\--topo-order', they would show 8 6 5 3 7 4 2 1 (or 8 7 4 2 6 5
 3 1); some older commits are shown before newer ones in order to
 avoid showing the commits from two parallel development track mixed
 together.
@@ -666,35 +666,35 @@ These options are mostly targeted for packing of Git repositories.
 --objects::
 
 	Print the object IDs of any object referenced by the listed
-	commits.  '--objects foo ^bar' thus means "send me
+	commits.  '\--objects foo ^bar' thus means "send me
 	all object IDs which I need to download if I have the commit
 	object 'bar', but not 'foo'".
 
 --objects-edge::
 
-	Similar to '--objects', but also print the IDs of excluded
-	commits prefixed with a "-" character.  This is used by
-	linkgit:git-pack-objects[1] to build "thin" pack, which records
+	Similar to '\--objects', but also print the IDs of excluded
+	commits prefixed with a ``-'' character.  This is used by
+	linkgit:git-pack-objects[1] to build ``thin'' pack, which records
 	objects in deltified form based on objects contained in these
 	excluded commits to reduce network traffic.
 
 --unpacked::
 
-	Only useful with '--objects'; print the object IDs that are not
+	Only useful with '\--objects'; print the object IDs that are not
 	in packs.
 
 --no-walk[=(sorted|unsorted)]::
 
 	Only show the given commits, but do not traverse their ancestors.
 	This has no effect if a range is specified. If the argument
-	"unsorted" is given, the commits are show in the order they were
-	given on the command line. Otherwise (if "sorted" or no argument
-	was given), the commits are show in reverse chronological order
+	'unsorted' is given, the commits are show in the order they were
+	given on the command line. Otherwise (if 'sorted' or no argument
+	was given), the commits are shown in reverse chronological order
 	by commit time.
 
 --do-walk::
 
-	Overrides a previous --no-walk.
+	Overrides a previous '\--no-walk'.
 
 Commit Formatting
 ~~~~~~~~~~~~~~~~~
@@ -709,29 +709,29 @@ include::pretty-options.txt[]
 
 --relative-date::
 
-	Synonym for `--date=relative`.
+	Synonym for '\--date=relative'.
 
 --date=(relative|local|default|iso|rfc|short|raw)::
 
 	Only takes effect for dates shown in human-readable format, such
-	as when using "--pretty". `log.date` config variable sets a default
-	value for log command's --date option.
+	as when using '\--pretty'. The `log.date` config variable sets a
+	default value for the log command's '\--date' option.
 +
-`--date=relative` shows dates relative to the current time,
+'\--date=relative' shows dates relative to the current time,
 e.g. "2 hours ago".
 +
-`--date=local` shows timestamps in user's local timezone.
+'\--date=local' shows timestamps in user's local timezone.
 +
-`--date=iso` (or `--date=iso8601`) shows timestamps in ISO 8601 format.
+'\--date=iso' (or '\--date=iso8601') shows timestamps in ISO 8601 format.
 +
-`--date=rfc` (or `--date=rfc2822`) shows timestamps in RFC 2822
+'\--date=rfc' (or '\--date=rfc2822') shows timestamps in RFC 2822
 format, often found in E-mail messages.
 +
-`--date=short` shows only date but not time, in `YYYY-MM-DD` format.
+'\--date=short' shows only the date but not the time, in `YYYY-MM-DD` format.
 +
-`--date=raw` shows the date in the internal raw Git format `%s %z` format.
+'\--date=raw' shows the date in the internal raw Git format `%s %z` format.
 +
-`--date=default` shows timestamps in the original timezone
+'\--date=default' shows timestamps in the original timezone
 (either committer's or author's).
 
 ifdef::git-rev-list[]
@@ -760,8 +760,8 @@ endif::git-rev-list[]
 
 	Mark which side of a symmetric diff a commit is reachable from.
 	Commits from the left side are prefixed with `<` and those from
-	the right with `>`.  If combined with `--boundary`, those
-	commits are prefixed with `-`.
+	the right with `>`.  If combined with '\--boundary', those
+	commits are prefixed with ``-''.
 +
 For example, if you have this topology:
 +
@@ -795,16 +795,16 @@ you would get an output like this:
 +
 This enables parent rewriting, see 'History Simplification' below.
 +
-This implies the '--topo-order' option by default, but the
-'--date-order' option may also be specified.
+This implies the '\--topo-order' option by default, but the
+'\--date-order' option may also be specified.
 
 ifdef::git-rev-list[]
 --count::
 	Print a number stating how many commits would have been
 	listed, and suppress all other output.  When used together
-	with '--left-right', instead print the counts for left and
+	with '\--left-right', instead print the counts for left and
 	right commits, separated by a tab. When used together with
-	'--cherry-mark', omit patch equivalent commits from these
+	'\--cherry-mark', omit patch equivalent commits from these
 	counts and print the count for equivalent commits separated
 	by a tab.
 endif::git-rev-list[]
@@ -838,7 +838,7 @@ options may be given. See linkgit:git-diff-files[1] for more options.
 	This flag makes the merge commits show the full diff like
 	regular commits; for each merge parent, a separate log entry
 	and diff is generated. An exception is that only diff against
-	the first parent is shown when '--first-parent' option is given;
+	the first parent is shown when '\--first-parent' option is given;
 	in that case, the output represents the changes the merge
 	brought _into_ the then-current branch.
 
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/4] Correct word usage of "timezone" in "Documentation" directory
  2013-11-09  0:48 [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--" Jason St. John
@ 2013-11-09  0:48 ` Jason St. John
  2013-11-12 18:40   ` Junio C Hamano
  2013-11-09  0:48 ` [PATCH 4/4] Correct word usage of "timezone" in "Documentation/RelNotes" directory Jason St. John
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Jason St. John @ 2013-11-09  0:48 UTC (permalink / raw)
  To: git; +Cc: Jason St. John

"timezone" is two words, not one (i.e. "time zone" is correct).

Correct this in these files:
-- date-formats.txt
-- git-blame.txt
-- git-cvsimport.txt
-- git-fast-import.txt
-- git-svn.txt
-- gitweb.conf.txt
-- rev-list-options.txt

Signed-off-by: Jason St. John <jstjohn@purdue.edu>
---
Sources:
(1) https://en.wikipedia.org/wiki/Time_zone
(2) https://www.google.com/trends/explore?q=%22timezone%22+%22time+zone%22#q=timezone%2C%20time%20zone&cmpt=q
(3) A search of Google Scholar (non-patent articles) for each term:
		"timezone": 8,300 results
		"time zone": 40,100 results


 Documentation/date-formats.txt     |  4 ++--
 Documentation/git-blame.txt        |  2 +-
 Documentation/git-cvsimport.txt    |  4 ++--
 Documentation/git-fast-import.txt  | 10 +++++-----
 Documentation/git-svn.txt          |  6 +++---
 Documentation/gitweb.conf.txt      | 14 +++++++-------
 Documentation/rev-list-options.txt |  4 ++--
 7 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/Documentation/date-formats.txt b/Documentation/date-formats.txt
index c000f08..ccd1fc8 100644
--- a/Documentation/date-formats.txt
+++ b/Documentation/date-formats.txt
@@ -8,9 +8,9 @@ endif::git-commit[]
 support the following date formats:
 
 Git internal format::
-	It is `<unix timestamp> <timezone offset>`, where `<unix
+	It is `<unix timestamp> <time zone offset>`, where `<unix
 	timestamp>` is the number of seconds since the UNIX epoch.
-	`<timezone offset>` is a positive or negative offset from UTC.
+	`<time zone offset>` is a positive or negative offset from UTC.
 	For example CET (which is 2 hours ahead UTC) is `+0200`.
 
 RFC 2822::
diff --git a/Documentation/git-blame.txt b/Documentation/git-blame.txt
index f2c85cc..8e70a61 100644
--- a/Documentation/git-blame.txt
+++ b/Documentation/git-blame.txt
@@ -103,7 +103,7 @@ This header line is followed by the following information
 at least once for each commit:
 
 - the author name ("author"), email ("author-mail"), time
-  ("author-time"), and timezone ("author-tz"); similarly
+  ("author-time"), and time zone ("author-tz"); similarly
   for committer.
 - the filename in the commit that the line is attributed to.
 - the first line of the commit log message ("summary").
diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt
index d1bcda2..2df9953 100644
--- a/Documentation/git-cvsimport.txt
+++ b/Documentation/git-cvsimport.txt
@@ -144,7 +144,7 @@ This option can be used several times to provide several detection regexes.
 	CVS by default uses the Unix username when writing its
 	commit logs. Using this option and an author-conv-file
 	maps the name recorded in CVS to author name, e-mail and
-	optional timezone:
+	optional time zone:
 +
 ---------
 	exon=Andreas Ericsson <ae@op5.se>
@@ -154,7 +154,7 @@ This option can be used several times to provide several detection regexes.
 +
 'git cvsimport' will make it appear as those authors had
 their GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL set properly
-all along.  If a timezone is specified, GIT_AUTHOR_DATE will
+all along.  If a time zone is specified, GIT_AUTHOR_DATE will
 have the corresponding offset applied.
 +
 For convenience, this data is saved to `$GIT_DIR/cvs-authors`
diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt
index 73f9806..fd22a9a 100644
--- a/Documentation/git-fast-import.txt
+++ b/Documentation/git-fast-import.txt
@@ -251,7 +251,7 @@ advisement to help formatting routines display the timestamp.
 If the local offset is not available in the source material, use
 ``+0000'', or the most common local offset.  For example many
 organizations have a CVS repository which has only ever been accessed
-by users who are located in the same location and timezone.  In this
+by users who are located in the same location and time zone.  In this
 case a reasonable offset from UTC could be assumed.
 +
 Unlike the `rfc2822` format, this format is very strict.  Any
@@ -271,7 +271,7 @@ the malformed string.  There are also some types of malformed
 strings which Git will parse wrong, and yet consider valid.
 Seriously malformed strings will be rejected.
 +
-Unlike the `raw` format above, the timezone/UTC offset information
+Unlike the `raw` format above, the time zone/UTC offset information
 contained in an RFC 2822 date string is used to adjust the date
 value to UTC prior to storage.  Therefore it is important that
 this information be as accurate as possible.
@@ -287,13 +287,13 @@ format, or its format is easily convertible to it, as there is no
 ambiguity in parsing.
 
 `now`::
-	Always use the current time and timezone.  The literal
+	Always use the current time and time zone.  The literal
 	`now` must always be supplied for `<when>`.
 +
-This is a toy format.  The current time and timezone of this system
+This is a toy format.  The current time and time zone of this system
 is always copied into the identity string at the time it is being
 created by fast-import.  There is no way to specify a different time or
-timezone.
+time zone.
 +
 This particular format is supplied as it's short to implement and
 may be useful to a process that wants to create a new commit
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index dcad890..30c5ee2 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -124,15 +124,15 @@ This automatically updates the rev_map if needed (see
 '$GIT_DIR/svn/\*\*/.rev_map.*' in the FILES section below for details).
 
 --localtime;;
-	Store Git commit times in the local timezone instead of UTC.  This
+	Store Git commit times in the local time zone instead of UTC.  This
 	makes 'git log' (even without --date=local) show the same times
-	that `svn log` would in the local timezone.
+	that `svn log` would in the local time zone.
 +
 This doesn't interfere with interoperating with the Subversion
 repository you cloned from, but if you wish for your local Git
 repository to be able to interoperate with someone else's local Git
 repository, either don't use this option or you should both use it in
-the same local timezone.
+the same local time zone.
 
 --parent;;
 	Fetch only from the SVN parent of the current HEAD.
diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt
index 305db63..e2113d9 100644
--- a/Documentation/gitweb.conf.txt
+++ b/Documentation/gitweb.conf.txt
@@ -822,18 +822,18 @@ timed::
 Project specific override is not supported.
 
 javascript-timezone::
-	Enable and configure the ability to change a common timezone for dates
+	Enable and configure the ability to change a common time zone for dates
 	in gitweb output via JavaScript.  Dates in gitweb output include
 	authordate and committerdate in "commit", "commitdiff" and "log"
 	views, and taggerdate in "tag" view.  Enabled by default.
 +
-The value is a list of three values: a default timezone (for if the client
-hasn't selected some other timezone and saved it in a cookie), a name of cookie
-where to store selected timezone, and a CSS class used to mark up
+The value is a list of three values: a default time zone (for if the client
+hasn't selected some other time zone and saved it in a cookie), a name of cookie
+where to store selected time zone, and a CSS class used to mark up
 dates for manipulation.  If you want to turn this feature off, set "default"
 to empty list: `[]`.
 +
-Typical gitweb config files will only change starting (default) timezone,
+Typical gitweb config files will only change starting (default) time zone,
 and leave other elements at their default values:
 +
 ---------------------------------------------------------------------------
@@ -843,9 +843,9 @@ $feature{'javascript-timezone'}{'default'}[0] = "utc";
 The example configuration presented here is guaranteed to be backwards
 and forward compatible.
 +
-Timezone values can be "local" (for local timezone that browser uses), "utc"
+Time zone values can be "local" (for local time zone that browser uses), "utc"
 (what gitweb uses when JavaScript or this feature is disabled), or numerical
-timezones in the form of "+/-HHMM", such as "+0200".
+time zones in the form of "+/-HHMM", such as "+0200".
 +
 Project specific override is not supported.
 
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 32c40ae..0721bf2 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -720,7 +720,7 @@ include::pretty-options.txt[]
 '\--date=relative' shows dates relative to the current time,
 e.g. "2 hours ago".
 +
-'\--date=local' shows timestamps in user's local timezone.
+'\--date=local' shows timestamps in user's local time zone.
 +
 '\--date=iso' (or '\--date=iso8601') shows timestamps in ISO 8601 format.
 +
@@ -731,7 +731,7 @@ format, often found in E-mail messages.
 +
 '\--date=raw' shows the date in the internal raw Git format `%s %z` format.
 +
-'\--date=default' shows timestamps in the original timezone
+'\--date=default' shows timestamps in the original time zone
 (either committer's or author's).
 
 ifdef::git-rev-list[]
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/4] Correct word usage of "timezone" in "Documentation/RelNotes" directory
  2013-11-09  0:48 [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--" Jason St. John
  2013-11-09  0:48 ` [PATCH 3/4] Correct word usage of "timezone" in "Documentation" directory Jason St. John
@ 2013-11-09  0:48 ` Jason St. John
  2013-11-09  1:02   ` Jonathan Nieder
  2013-11-09  8:13 ` [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--" Johannes Sixt
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Jason St. John @ 2013-11-09  0:48 UTC (permalink / raw)
  To: git; +Cc: Jason St. John

"timezone" is two words, not one (i.e. "time zone" is correct).

Signed-off-by: Jason St. John <jstjohn@purdue.edu>
---
I broke this off into a separate patch in case the release notes are
essentially "fixed" in history and typos, misspellings, etc. don't get
corrected.
Sources are provided below the commit message in [PATCH 3/4].


 Documentation/RelNotes/1.5.2.txt    | 2 +-
 Documentation/RelNotes/1.7.1.1.txt  | 2 +-
 Documentation/RelNotes/1.7.12.4.txt | 2 +-
 Documentation/RelNotes/1.7.3.4.txt  | 2 +-
 Documentation/RelNotes/1.7.4.2.txt  | 2 +-
 Documentation/RelNotes/1.7.6.5.txt  | 2 +-
 Documentation/RelNotes/1.7.6.txt    | 2 +-
 Documentation/RelNotes/1.7.8.txt    | 2 +-
 Documentation/RelNotes/1.8.0.txt    | 2 +-
 Documentation/RelNotes/1.8.1.txt    | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/Documentation/RelNotes/1.5.2.txt b/Documentation/RelNotes/1.5.2.txt
index e8328d0..774eaf4 100644
--- a/Documentation/RelNotes/1.5.2.txt
+++ b/Documentation/RelNotes/1.5.2.txt
@@ -76,7 +76,7 @@ Updates since v1.5.1
 
   - "git log" family of commands learned --date={local,relative,default}
     option.  --date=relative is synonym to the --relative-date.
-    --date=local gives the timestamp in local timezone.
+    --date=local gives the timestamp in local time zone.
 
 * Updated behavior of existing commands.
 
diff --git a/Documentation/RelNotes/1.7.1.1.txt b/Documentation/RelNotes/1.7.1.1.txt
index 3f6b314..1e57365 100644
--- a/Documentation/RelNotes/1.7.1.1.txt
+++ b/Documentation/RelNotes/1.7.1.1.txt
@@ -15,7 +15,7 @@ Fixes since v1.7.1
    macro that set/unset one attribute, immediately followed by an
    overriding setting; this makes attribute macros much easier to use.
 
- * We didn't recognize timezone "Z" as a synonym for "UTC" (75b37e70).
+ * We didn't recognize time zone "Z" as a synonym for "UTC" (75b37e70).
 
  * In 1.7.0, read-tree and user commands that use the mechanism such as
    checkout and merge were fixed to handle switching between branches one
diff --git a/Documentation/RelNotes/1.7.12.4.txt b/Documentation/RelNotes/1.7.12.4.txt
index c6da3cc..9d90d11 100644
--- a/Documentation/RelNotes/1.7.12.4.txt
+++ b/Documentation/RelNotes/1.7.12.4.txt
@@ -10,7 +10,7 @@ Fixes since v1.7.12.3
  * It was possible to give specific paths for "asciidoc" and other
    tools in the documentation toolchain, but not for "xmlto".
 
- * "gitweb" did not give the correct committer timezone in its feed
+ * "gitweb" did not give the correct committer time zone in its feed
    output due to a typo.
 
  * The "-Xours" (and similarly -Xtheirs) backend option to "git
diff --git a/Documentation/RelNotes/1.7.3.4.txt b/Documentation/RelNotes/1.7.3.4.txt
index e57f7c1..6223e07 100644
--- a/Documentation/RelNotes/1.7.3.4.txt
+++ b/Documentation/RelNotes/1.7.3.4.txt
@@ -10,7 +10,7 @@ Fixes since v1.7.3.3
  * "git apply" did not correctly handle patches that only change modes
    if told to apply while stripping leading paths with -p option.
 
- * "git apply" can deal with patches with timezone formatted with a
+ * "git apply" can deal with patches with time zone formatted with a
    colon between the hours and minutes part (e.g. "-08:00" instead of
    "-0800").
 
diff --git a/Documentation/RelNotes/1.7.4.2.txt b/Documentation/RelNotes/1.7.4.2.txt
index ef4ce1f..5476344 100644
--- a/Documentation/RelNotes/1.7.4.2.txt
+++ b/Documentation/RelNotes/1.7.4.2.txt
@@ -49,7 +49,7 @@ Fixes since v1.7.4.1
 
  * gitweb's "highlight" interface mishandled tabs.
 
- * gitweb didn't understand timezones with GMT offset that is not
+ * gitweb didn't understand time zones with GMT offset that is not
    multiple of a whole hour.
 
  * gitweb had a few forward-incompatible syntactic constructs and
diff --git a/Documentation/RelNotes/1.7.6.5.txt b/Documentation/RelNotes/1.7.6.5.txt
index 6713132..4b237e7 100644
--- a/Documentation/RelNotes/1.7.6.5.txt
+++ b/Documentation/RelNotes/1.7.6.5.txt
@@ -4,7 +4,7 @@ Git v1.7.6.5 Release Notes
 Fixes since v1.7.6.4
 --------------------
 
- * The date parser did not accept timezone designators that lack minutes
+ * The date parser did not accept time zone designators that lack minutes
    part and also has a colon between "hh:mm".
 
  * After fetching from a remote that has very long refname, the reporting
diff --git a/Documentation/RelNotes/1.7.6.txt b/Documentation/RelNotes/1.7.6.txt
index 9ec498e..98bc112 100644
--- a/Documentation/RelNotes/1.7.6.txt
+++ b/Documentation/RelNotes/1.7.6.txt
@@ -7,7 +7,7 @@ Updates since v1.7.5
  * Various git-svn updates.
 
  * Updates the way content tags are handled in gitweb.  Also adds
-   a UI to choose common timezone for displaying the dates.
+   a UI to choose common time zone for displaying the dates.
 
  * Similar to branch names, tagnames that begin with "-" are now
    disallowed.
diff --git a/Documentation/RelNotes/1.7.8.txt b/Documentation/RelNotes/1.7.8.txt
index 2493113..938118e 100644
--- a/Documentation/RelNotes/1.7.8.txt
+++ b/Documentation/RelNotes/1.7.8.txt
@@ -11,7 +11,7 @@ Updates since v1.7.7
  * The build procedure has been taught to take advantage of computed
    dependency automatically when the compiler supports it.
 
- * The date parser now accepts timezone designators that lack minutes
+ * The date parser now accepts time zone designators that lack minutes
    part and also has a colon between "hh:mm".
 
  * The contents of the /etc/mailname file, if exists, is used as the
diff --git a/Documentation/RelNotes/1.8.0.txt b/Documentation/RelNotes/1.8.0.txt
index 43883c1..d0c416d 100644
--- a/Documentation/RelNotes/1.8.0.txt
+++ b/Documentation/RelNotes/1.8.0.txt
@@ -263,5 +263,5 @@ to them for details).
  * "git status" honored the ignore=dirty settings in .gitmodules but
    "git commit" didn't.
 
- * "gitweb" did not give the correct committer timezone in its feed
+ * "gitweb" did not give the correct committer time zone in its feed
    output due to a typo.
diff --git a/Documentation/RelNotes/1.8.1.txt b/Documentation/RelNotes/1.8.1.txt
index d6f9555..209ec9b 100644
--- a/Documentation/RelNotes/1.8.1.txt
+++ b/Documentation/RelNotes/1.8.1.txt
@@ -107,7 +107,7 @@ UI, Workflows & Features
 
 Foreign Interface
 
- * "git cvsimport" can be told to record timezones (other than GMT)
+ * "git cvsimport" can be told to record time zones (other than GMT)
    per-author via its author info file.
 
  * The remote helper interface to interact with subversion
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 4/4] Correct word usage of "timezone" in "Documentation/RelNotes" directory
  2013-11-09  0:48 ` [PATCH 4/4] Correct word usage of "timezone" in "Documentation/RelNotes" directory Jason St. John
@ 2013-11-09  1:02   ` Jonathan Nieder
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Nieder @ 2013-11-09  1:02 UTC (permalink / raw)
  To: Jason St. John; +Cc: git

Jason St. John wrote:

> I broke this off into a separate patch in case the release notes are
> essentially "fixed" in history and typos, misspellings, etc. don't get
> corrected.

Yeah, I'd prefer not to retroactively fix release notes for cases
like this.

Thanks,
Jonathan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--"
  2013-11-09  0:48 [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--" Jason St. John
  2013-11-09  0:48 ` [PATCH 3/4] Correct word usage of "timezone" in "Documentation" directory Jason St. John
  2013-11-09  0:48 ` [PATCH 4/4] Correct word usage of "timezone" in "Documentation/RelNotes" directory Jason St. John
@ 2013-11-09  8:13 ` Johannes Sixt
  2013-11-11 18:06 ` Junio C Hamano
  2013-11-12  8:38 ` Jeff King
  4 siblings, 0 replies; 8+ messages in thread
From: Johannes Sixt @ 2013-11-09  8:13 UTC (permalink / raw)
  To: Jason St. John, git

Am 09.11.2013 01:48, schrieb Jason St. John:
> -`--since=<date1>` limits to commits newer than `<date1>`, and using it
> -with `--grep=<pattern>` further limits to commits whose log message
> +'\--since=<date1>' limits to commits newer than `<date1>`, and using it
> +with '\--grep=<pattern>' further limits to commits whose log message

I don't think this kind of change goes in the right direction.
Currently, the general style seems to be that options are typeset in
monospaced font. I looked at git-merge and git-rebase (and git-log, of
course). But after your change, they are typeset in italics, in the HTML
version of the manual pages.

I did not find an advice on the preferred formatting, though, except for
the last sentence in Documentation/CodingGuidelines.

-- Hannes

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--"
  2013-11-09  0:48 [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--" Jason St. John
                   ` (2 preceding siblings ...)
  2013-11-09  8:13 ` [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--" Johannes Sixt
@ 2013-11-11 18:06 ` Junio C Hamano
  2013-11-12  8:38 ` Jeff King
  4 siblings, 0 replies; 8+ messages in thread
From: Junio C Hamano @ 2013-11-11 18:06 UTC (permalink / raw)
  To: Jason St. John; +Cc: git

"Jason St. John" <jstjohn@purdue.edu> writes:

> rev-list-options.txt: replace e.g. `--foo` with '\--foo'
> rev-list-options.txt: emphasize, instead of quote, some option arguments
>     (e.g. "foo-option" becomes 'foo-option')
> rev-list-options.txt: force ASCIIDOC escaping of "--" (e.g. '--bar'
>     becomes '\--bar')
> rev-list-options.txt: add single quote chars around options missing them
>     (e.g. --grep becomes '\--grep')
> rev-list-options.txt: replaced one instance of "regexp" with "regular
>     expressions"
> rev-list-options.txt: fix typo in "--no-walk" description ("show" -->
> "shown")
> rev-list-options.txt: replaced some instances of double quotes with
>     their ASCIIDOC equivalent (e.g. """a "-" character""" becomes
>     """a ``-'' character""",

Gaah.

Did you really have to repeat "rev-list-options.txt: " on all the
lines?

> Sorry for the messy quoting in the last set of examples in the commit message.

I have a feeling that many of them can and should be turned from
'--opt' to `--opt`.  For example, this original:

>  	Mark which side of a symmetric diff a commit is reachable from.
>  	Commits from the left side are prefixed with `<` and those from
> -	the right with `>`.  If combined with `--boundary`, those
> -	commits are prefixed with `-`.
> +	the right with `>`.  If combined with '\--boundary', those
> +	commits are prefixed with ``-''.

seems to render correctly at

    https://git-htmldocs.googlecode.com/git/git-rev-list.html

without this part of the patch.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--"
  2013-11-09  0:48 [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--" Jason St. John
                   ` (3 preceding siblings ...)
  2013-11-11 18:06 ` Junio C Hamano
@ 2013-11-12  8:38 ` Jeff King
  4 siblings, 0 replies; 8+ messages in thread
From: Jeff King @ 2013-11-12  8:38 UTC (permalink / raw)
  To: Jason St. John; +Cc: git

On Fri, Nov 08, 2013 at 07:48:51PM -0500, Jason St. John wrote:

>  Using more options generally further limits the output (e.g.
> -`--since=<date1>` limits to commits newer than `<date1>`, and using it
> -with `--grep=<pattern>` further limits to commits whose log message
> +'\--since=<date1>' limits to commits newer than `<date1>`, and using it
> +with '\--grep=<pattern>' further limits to commits whose log message
>  has a line that matches `<pattern>`), unless otherwise noted.

Others pointed out that we generally prefer the `literal` formatting for
such options (with backticks), which I agree with. If your target is
formatting manpages (and not html), you may want to build with
MAN_BOLD_LITERAL set in the Makefile, which will embolden the literals
in the output (since we cannot typeset them in a monospace font on the
terminal, as we would for html).

-Peff

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/4] Correct word usage of "timezone" in "Documentation" directory
  2013-11-09  0:48 ` [PATCH 3/4] Correct word usage of "timezone" in "Documentation" directory Jason St. John
@ 2013-11-12 18:40   ` Junio C Hamano
  0 siblings, 0 replies; 8+ messages in thread
From: Junio C Hamano @ 2013-11-12 18:40 UTC (permalink / raw)
  To: Jason St. John; +Cc: git

I'll take this patch among the 4 in this series for now.

I do not have immediate opinion on 1/4, other than "The original may
have room for improvement, but the patch posted is probably not it".

As to 2/4, I agree with j6t and peff that `--date=local` is more
preferrable than '\--date=local'.

As to 4/4, I agree with Jonathan that we should keep the release
notes as they are (thanks for separating the patch into two between
3 and 4, by the way).

So I do not mind seeing discussions, improvements and rerolls on the
first two in the series.

Thanks.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-11-12 18:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-09  0:48 [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--" Jason St. John
2013-11-09  0:48 ` [PATCH 3/4] Correct word usage of "timezone" in "Documentation" directory Jason St. John
2013-11-12 18:40   ` Junio C Hamano
2013-11-09  0:48 ` [PATCH 4/4] Correct word usage of "timezone" in "Documentation/RelNotes" directory Jason St. John
2013-11-09  1:02   ` Jonathan Nieder
2013-11-09  8:13 ` [PATCH 2/4] Emphasize options and force ASCIIDOC escaping of "--" Johannes Sixt
2013-11-11 18:06 ` Junio C Hamano
2013-11-12  8:38 ` Jeff King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.