[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [patch 13/26] Set filespecs and environment variable names i
From: |
g . branden . robinson |
Subject: |
[Quilt-dev] [patch 13/26] Set filespecs and environment variable names in italics. |
Date: |
Sat, 16 Jun 2018 12:22:45 -0400 |
User-agent: |
quilt/0.65 |
Variable content in an italic context is set in roman for contrast, but
still in italics in running roman prose.
Index: quilt/doc/quilt.1.in
===================================================================
--- quilt.orig/doc/quilt.1.in
+++ quilt/doc/quilt.1.in
@@ -71,9 +71,7 @@ When not found in the current directory,
recursively in the parent directories (this is similar to the way
.I Git
searches for its configuration files).
-The
-.I patches
-directory may contain sub-directories.
+The patches directory may contain sub-directories.
It may also be a symbolic link instead of a directory.
.PP
A file called
@@ -84,8 +82,8 @@ Unless there are means by which series f
automatically, it is usually provided along with a set of patches.
In this file, each patch file name is on a separate line.
Patch files are identified by path names that are relative to the
-.I patches
-directory; patches may be in sub-directories below this directory.
+patches directory; patches may be in sub-directories below this
+directory.
Lines in the series file that start with a hash character (#) are
ignored.
You can also add a comment after each patch file name, introduced by a
@@ -105,14 +103,14 @@ corresponding for example to different d
.PP
Before a patch is applied (or \\[lq]pushed on the stack\\[rq]), copies
of all files the patch modifies are saved to the
-.RI .pc/ patch
+.IR .pc/ patch
directory.
The patch is added to the list of currently applied patches
-(.pc/applied\\-patches).
+.RI ( .pc/applied\\-patches ).
Later when a patch is regenerated
.RB ( "quilt refresh" ),
the backup copies in
-.RI .pc/ patch
+.IR .pc/ patch
are compared with the current versions of the files in the source tree
using GNU
.IR diff .
@@ -127,22 +125,27 @@ the GNU
.I Diffutils
manual.)
.PP
-The series file is looked up in the .pc directory, in the root of the
-source tree, and in the patches directory.
+The series file is looked up in the
+.I .pc
+directory, in the root of the source tree, and in the patches directory.
The first series file that is found is used.
This may also be a symbolic link, or a file with multiple hard links.
Usually, only one series file is used for a set of patches, so the
patches sub-directory is a convenient location.
.PP
-The .pc directory and its sub-directories cannot be relocated, but it
-can be a symbolic link.
+The
+.I .pc
+directory and its sub-directories cannot be relocated, but it can be a
+symbolic link.
While patches are applied to the source tree, this directory is
essential for many operations, including taking patches off the stack
.RB ( "quilt pop" ),
and refreshing patches
.RB ( "quilt refresh" ).
-Files in the .pc directory are automatically removed when they are
-no longer needed, so there is no need to clean up manually.
+Files in the
+.I .pc
+directory are automatically removed when they are no longer needed, so
+there is no need to clean up manually.
.SS Quilt commands reference
@REFERENCE@
.SH OPTIONS
@@ -152,8 +155,13 @@ Runs the command in bash trace mode (\\-
For internal debugging.
.TP
.BI "\\-\\-quiltrc " file
-Use the specified configuration file instead of \\[ti]/.quiltrc (or
-/etc/quilt.quiltrc if \\[ti]/.quiltrc does not exist).
+Use the specified configuration file instead of
+.I \\[ti]/.quiltrc
+(or
+.I /etc/quilt.quiltrc
+if
+.I \\[ti]/.quiltrc
+does not exist).
See the pdf documentation for details about its possible contents.
The special value \\[lq]\\-\\[rq] causes
.I quilt
@@ -176,14 +184,15 @@ This behavior is intended to ease the sc
In addition to that,
.I quilt
recognizes the following variables:
-.IP EDITOR 4
+.TP
+.I EDITOR
The program to run to edit files.
-If it isn't redefined in the configuration file, $EDITOR as defined in
-the environment will be used.
-.IP LESS 4
-The arguments used to invoke the pager.
-Inherits the existing value of $LESS if LESS is already set in the
-environment, otherwise defaults to \\[lq]\\-FRSX\\[rq].
+.TP
+.I LESS
+The arguments used to invoke the
+.BR less (1)
+pager;
+defaults to \\[lq]\\-FRSX\\[rq].
.SH FILES
.SS "Example of working tree"
.EX
@@ -204,28 +213,40 @@ work/
âââ ...
.EE
.PP
-The patches/ directory is precious as it contains all your patches as
-well as the order in which it should be applied.
+The
+.I patches
+directory is precious as it contains all your patches as well as the
+order in which it should be applied.
.PP
-The .pc/ directory contains some metadata about the current state of
-your patch serie.
+The
+.I .pc
+directory contains some metadata about the current state of your patch
+serie.
Changing its content is not advised.
This directory can usually be regenerated from the initial files and the
-content of the patches/ directory (provided that all patches were
-regenerated before the removal).
+content of the
+.I patches
+directory (provided that all patches were regenerated before the
+removal).
.SS "Configuration file"
Upon startup,
.I quilt
-evaluates the file .quiltrc in the user's home directory, or the file
-specified with the \\-\\-quiltrc option.
+evaluates the file
+.I .quiltrc
+in the user's home directory, or the file specified with the
+\\-\\-quiltrc option.
This file is a regular bash script.
-Default options can be passed to any COMMAND by defining a
-QUILT_${COMMAND}_ARGS variable.
+Default options can be passed to any
+.I quilt COMMAND
+by defining a
+.IR QUILT_ COMMAND _ARGS
+variable.
For example, \\[lq]QUILT_DIFF_ARGS="\\-\\-color=auto"\\[rq] causes the
output of \\[lq]quilt diff\\[rq] to be syntax colored when writing to a
terminal.
.PP
-.IP QUILT_DIFF_OPTS 4
+.TP
+.I QUILT_DIFF_OPTS
Additional options that
.I quilt
shall pass to GNU
@@ -234,7 +255,8 @@ when generating patches.
A useful setting for C source code is \\[lq]\\-p\\[rq], which causes GNU
.I diff
to show in the resulting patch which function a change is in.
-.IP QUILT_PATCH_OPTS 4
+.TP
+.I QUILT_PATCH_OPTS
Additional options that
.I quilt
shall pass to GNU
@@ -264,7 +286,8 @@ Beware that when passing \\[lq]\\-E\\[rq
.I quilt
will no longer be able to deal with empty files, which is why using
\\[lq]\\-E\\[rq] is no longer the default.
-.IP QUILT_DIFFSTAT_OPTS 4
+.TP
+.I QUILT_DIFFSTAT_OPTS
Additional options that
.I quilt
shall pass to
@@ -276,48 +299,57 @@ Recent versions of
.I diffstat
also support alternative rounding methods (\\[lq]\\-r1\\[rq],
\\[lq]\\-r2\\[rq]).
-.IP QUILT_PATCHES 4
+.TP
+.I QUILT_PATCHES
The location of patch files, defaulting to \\[lq]patches\\[rq].
-.IP QUILT_SERIES 4
+.TP
+.I QUILT_SERIES
The name of the series file, defaulting to \\[lq]series\\[rq].
Unless an absolute path is used, the search algorithm described above
applies.
-.IP QUILT_PATCHES_PREFIX 4
+.TP
+.I QUILT_PATCHES_PREFIX
If set to anything,
.I quilt
will prefix patch names it prints with their
directory (QUILT_PATCHES).
-.IP QUILT_NO_DIFF_INDEX 4
+.TP
+.I QUILT_NO_DIFF_INDEX
By default,
.I quilt
prepends an \\[lq]Index:\\[rq] line to the patches it generates.
If this variable is set to anything, no line is prepended.
This is a shortcut to adding \\-\\-no\\-index to both QUILT_DIFF_ARGS
and QUILT_REFRESH_ARGS.
-.IP QUILT_NO_DIFF_TIMESTAMPS 4
+.TP
+.I QUILT_NO_DIFF_TIMESTAMPS
By default,
.I quilt
includes timestamps in headers when generating patches.
If this variable is set to anything, no timestamp will be included.
This is a shortcut to adding \\-\\-no\\-timestamps to both
QUILT_DIFF_ARGS and QUILT_REFRESH_ARGS.
-.IP QUILT_PAGER 4
+.TP
+.I QUILT_PAGER
The pager
.I quilt
shall use for commands which produce paginated output.
If unset, the values of GIT_PAGER or PAGER is used.
If none of these variables is set, \\[lq]less \\-R\\[rq] is used.
An empty value indicates that no pager should be used.
-.IP QUILT_COLORS 4
+.TP
+.I QUILT_COLORS
By default,
.I quilt
uses its predefined color set in order to be more
comprehensible when distiguishing various types of patches, e.g.\\&
applied/unapplied, failed, etc.
.IP
-To override one or more color settings, set the QUILT_COLORS variable in
-following syntax - colon (:) separated list of elements, each being of
-the form <format name>=<foreground color>[;<background color>]
+To override one or more color settings, set the
+.I QUILT_COLORS
+variable in following syntax - colon (:) separated list of elements,
+each being of the form <format name>=<foreground color>[;<background
+color>]
.IP
Format names with their respective default values are listed below,
along with their usage(s).
@@ -386,13 +418,17 @@ format name is used to turn off special
coloring.
Its value is 0; it is not advised to modify it.
.PP
-The content of QUILT_COLORS supersedes default values.
+The content of
+.I QUILT_COLORS
+supersedes default values.
So the value \\[lq]diff_hdr=35;44\\[rq] will get you the
.I diff
headers in magenta over blue instead of the default green over unchanged
background.
-For that, add the following content to \\[ti]/.quiltrc (or
-/etc/quilt.quiltrc):
+For that, add the following content to
+.I \\[ti]/.quiltrc
+(or
+.IR /etc/quilt.quiltrc ):
.PP
.EX
.RS
@@ -405,14 +441,16 @@ QUILT_COLORS='diff_hdr=35;44'
started as a series of scripts written by Andrew Morton
.RI ( patch\\-scripts ).
Based on Andrew's ideas, Andreas Gruenbacher completely rewrote the
-scripts, with the help of several other contributors (see AUTHORS file
+scripts, with the help of several other contributors (see the file
+.I AUTHORS
in the distribution).
.PP
This man page was written by Martin Quinson, based on information found
in the pdf documentation, and in the help messages of each commands.
.SH "SEE ALSO"
.I How to Survive with Many Patches, or: Introduction to Quilt
-is installed at @DOCSUBDIR@/quilt.pdf.
+is installed at
+.IR "@DOCSUBDIR@/\\:quilt.pdf" .
Note that some distributors compress this file.
.BR zxpdf (1)
can be used to display compressed pdf files.
- Re: [Quilt-dev] [patch 12/26] Update internal and external cross-references., (continued)
- [Quilt-dev] [patch 14/26] Document -h flag in the Options section., g . branden . robinson, 2018/06/16
- [Quilt-dev] [patch 11/26] Italicize work titles., g . branden . robinson, 2018/06/16
- [Quilt-dev] [patch 18/26] Change the form of the word "subdirectory"., g . branden . robinson, 2018/06/16
- [Quilt-dev] [patch 09/26] Use character escapes for directional quotes and spacing tilde., g . branden . robinson, 2018/06/16
- [Quilt-dev] [patch 13/26] Set filespecs and environment variable names in italics.,
g . branden . robinson <=
- [Quilt-dev] [patch 16/26] Render Andreas Gruenbachers name with a u-umlaut., g . branden . robinson, 2018/06/16
- [Quilt-dev] [patch 21/26] Wordsmith Options section., g . branden . robinson, 2018/06/16
- [Quilt-dev] [patch 23/26] Wordsmith Environment section., g . branden . robinson, 2018/06/16
- [Quilt-dev] [patch 15/26] Capitalize "PDF" when not part of a filename., g . branden . robinson, 2018/06/16