aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2015-06-22 17:27:00 +0200
committerJunio C Hamano <gitster@pobox.com>2015-06-23 14:27:36 -0700
commit4b55b9b4793b2b134fb439161d5407168cd88dcc (patch)
treee0004ea503238591fc64bc3cd7ab50a82afaedf8
parentf27d05b17041d6e5c8cedced682709b2f1007ecc (diff)
downloadgit-4b55b9b4793b2b134fb439161d5407168cd88dcc.tar.gz
git-4b55b9b4793b2b134fb439161d5407168cd88dcc.tar.xz
fsck: document the new receive.fsck.<msg-id> options
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/config.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 43bb53c04..9393f4ee0 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -2197,6 +2197,20 @@ receive.fsckObjects::
Defaults to false. If not set, the value of `transfer.fsckObjects`
is used instead.
+receive.fsck.<msg-id>::
+ When `receive.fsckObjects` is set to true, errors can be switched
+ to warnings and vice versa by configuring the `receive.fsck.<msg-id>`
+ setting where the `<msg-id>` is the fsck message ID and the value
+ is one of `error`, `warn` or `ignore`. For convenience, fsck prefixes
+ the error/warning with the message ID, e.g. "missingEmail: invalid
+ author/committer line - missing email" means that setting
+ `receive.fsck.missingEmail = ignore` will hide that issue.
++
+This feature is intended to support working with legacy repositories
+which would not pass pushing when `receive.fsckObjects = true`, allowing
+the host to accept repositories with certain known issues but still catch
+other issues.
+
receive.unpackLimit::
If the number of objects received in a push is below this
limit then the objects will be unpacked into loose object