diff --git a/doc/quilt.1.in b/doc/quilt.1.in index 895c518..3494cb2 100644 --- a/doc/quilt.1.in +++ b/doc/quilt.1.in @@ -211,6 +211,93 @@ unset, the values of GIT_PAGER or PAGER is used. If none of these variables is set, "less -R" is used. An empty value indicates that no pager should be used. +.IP QUILT_COLORS 4 + +By default, quilt uses its predefined color set in order to be more +comprehensible when distiguishing various types of patches, eg. +applied/unapplied, failed, etc. + +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 names with their respective default values are listed below, +along with their usage(s). +Color codes(values) are standard bash coloring escape codes. +See more at http://tldp.org/LDP/abs/html/colorizing.html#AEN20229 + +diff_hdr +.RS +.RS +Used in 'quilt diff' to color the index line. Defaults to 32 (green). +.RE + +diff_add +.RS +Used in 'quilt diff' to color added lines. Defaults to 36 (azure). +.RE + +diff_mod +.RS +Used in 'quilt diff' to color modified lines. Defaults to 35 (purple). +.RE + +diff_rem +.RS +Used in 'quilt diff' to color removed lines. Defaults to 35 (purple). +.RE + +diff_hunk +.RS +Used in 'quilt diff' to color hunk header. Defaults to 33 (brown/orange). +.RE + +diff_ctx +.RS +Used in 'quilt diff' to color the text after end of hunk header (diff --show-c-function generates this). Defaults to 35 (purple). +.RE + +diff_cctx +.RS +Used in 'quilt diff' to color the 15-asterisk sequence before or after a hunk. Defaults to 33 (brown/orange). +.RE + +patch_fuzz +.RS +Used in 'quilt push' to color the patch fuzz information. Defaults to 35 (purple). +.RE + +patch_fail +.RS +Used in 'quilt push' to color the fail message. Defaults to 31 (red). +.RE + +patch_applied +.RS +Not used anywhere. Defaults to 32 (green). +.RE + +series_app +.RS +Used in 'quilt series' and 'quilt patches' to color the applied patch names. Defaults to 32 (green). +.RE + +series_top +.RS +Used in 'quilt series' and 'quilt patches' to color the top patch name. Defaults to 33 (brown/orange). +.RE + +series_una +.RS +Used in 'quilt series' and 'quilt patches' to color unapplied patch names. Defaults to 0 (no special color). +.RE + +clear +.RS +Used to turn off special coloring in 'quilt patches', 'quilt series', 'quilt push' and 'quilt diff'. Defaults to 0 (turns off special coloring). +.RE +.RE + .IP EDITOR 4 The program to run to edit files. If it isn't redefined in the