From: Junio C Hamano
Date: Sun, 9 Dec 2007 10:19:33 +0000 (+0000)
Subject: Autogenerated HTML docs for v1.5.3.7-1141-g4eb3
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=942b35ec890f6a54de52b7f6f6f067572ba11201;p=git.git
Autogenerated HTML docs for v1.5.3.7-1141-g4eb3
---
diff --git a/config.txt b/config.txt
index 736fcd71c..fabe7f859 100644
--- a/config.txt
+++ b/config.txt
@@ -295,6 +295,20 @@ core.pager::
The command that git will use to paginate output. Can be overridden
with the `GIT_PAGER` environment variable.
+core.whitespace::
+ A comma separated list of common whitespace problems to
+ notice. `git diff` will use `color.diff.whitespace` to
+ highlight them, and `git apply --whitespace=error` will
+ consider them as errors:
++
+* `trailing-space` treats trailing whitespaces at the end of the line
+ as an error (enabled by default).
+* `space-before-tab` treats a space character that appears immediately
+ before a tab character in the initial indent part of the line as an
+ error (enabled by default).
+* `indent-with-non-tab` treats a line that is indented with 8 or more
+ space characters that can be replaced with tab characters.
+
alias.*::
Command aliases for the gitlink:git[1] command wrapper - e.g.
after defining "alias.last = cat-file commit HEAD", the invocation
@@ -387,8 +401,8 @@ color.diff.::
which part of the patch to use the specified color, and is one
of `plain` (context text), `meta` (metainformation), `frag`
(hunk header), `old` (removed lines), `new` (added lines),
- `commit` (commit headers), or `whitespace` (highlighting dubious
- whitespace). The values of these variables may be specified as
+ `commit` (commit headers), or `whitespace` (highlighting
+ whitespace errors). The values of these variables may be specified as
in color.branch..
color.interactive::
@@ -762,6 +776,12 @@ showbranch.default::
The default set of branches for gitlink:git-show-branch[1].
See gitlink:git-show-branch[1].
+status.relativePaths::
+ By default, gitlink:git-status[1] shows paths relative to the
+ current directory. Setting this variable to `false` shows paths
+ relative to the repository root (this was the default for git
+ prior to v1.5.4).
+
tar.umask::
This variable can be used to restrict the permission bits of
tar archive entries. The default is 0002, which turns off the
diff --git a/git-apply.html b/git-apply.html
index ab60b25d2..5bea98553 100644
--- a/git-apply.html
+++ b/git-apply.html
@@ -277,7 +277,7 @@ git-apply(1) Manual Page
[--apply] [--no-add] [--build-fake-ancestor <file>] [-R | --reverse]
[--allow-binary-replacement | --binary] [--reject] [-z]
[-pNUM] [-CNUM] [--inaccurate-eof] [--cached]
- [--whitespace=<nowarn|warn|error|error-all|strip>]
+ [--whitespace=<nowarn|warn|fix|error|error-all>]
[--exclude=PATH] [--verbose] [<patch>…]
DESCRIPTION
@@ -489,20 +489,23 @@ discouraged.
---whitespace=<option>
+--whitespace=<action>
- When applying a patch, detect a new or modified line
- that ends with trailing whitespaces (this includes a
- line that solely consists of whitespaces). By default,
- the command outputs warning messages and applies the
- patch.
- When git-apply(1) is used for statistics and not applying a
- patch, it defaults to nowarn.
- You can use different <option> to control this
- behavior:
+ When applying a patch, detect a new or modified line that has
+ whitespace errors. What are considered whitespace errors is
+ controlled by core.whitespace configuration. By default,
+ trailing whitespaces (including lines that solely consist of
+ whitespaces) and a space character that is immediately followed
+ by a tab character inside the initial indent of the line are
+ considered whitespace errors.
+By default, the command outputs warning messages but applies the patch.
+When git-apply(1) is used for statistics and not applying a
+patch, it defaults to nowarn.
+You can use different <action> to control this
+behavior:
-
@@ -512,24 +515,26 @@ discouraged.
-
warn outputs warnings for a few such errors, but applies the
- patch (default).
+ patch as-is (default).
-
-error outputs warnings for a few such errors, and refuses
- to apply the patch.
+fix outputs warnings for a few such errors, and applies the
+ patch after fixing them (strip is a synonym --- the tool
+ used to consider only trailing whitespaces as errors, and the
+ fix involved stripping them, but modern gits do more).
-
-error-all is similar to error but shows all errors.
+error outputs warnings for a few such errors, and refuses
+ to apply the patch.
-
-strip outputs warnings for a few such errors, strips out the
- trailing whitespaces and applies the patch.
+error-all is similar to error but shows all errors.
@@ -599,7 +604,7 @@ subdirectory is checked and (if possible) updated.