summaryrefslogtreecommitdiffstats
path: root/git.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-11 12:49:56 -0700
committerJunio C Hamano <gitster@pobox.com>2021-10-11 12:49:56 -0700
commit7c7cb3360bfca12cec5fa485344d786c4252d247 (patch)
tree6b3aa28b20ddbf3c493a21dae7695a2119c34942 /git.txt
parent05971eb76ddbc27b8e5624df0761184bebc000e3 (diff)
downloadgit-htmldocs-7c7cb3360bfca12cec5fa485344d786c4252d247.tar.gz
Autogenerated HTML docs for v2.33.0-785-g2a972
Diffstat (limited to 'git.txt')
-rw-r--r--git.txt19
1 files changed, 10 insertions, 9 deletions
diff --git a/git.txt b/git.txt
index abace9eac..d63c65e67 100644
--- a/git.txt
+++ b/git.txt
@@ -867,15 +867,16 @@ for full details.
end user, to be recorded in the body of the reflog.
`GIT_REF_PARANOIA`::
- If set to `1`, include broken or badly named refs when iterating
- over lists of refs. In a normal, non-corrupted repository, this
- does nothing. However, enabling it may help git to detect and
- abort some operations in the presence of broken refs. Git sets
- this variable automatically when performing destructive
- operations like linkgit:git-prune[1]. You should not need to set
- it yourself unless you want to be paranoid about making sure
- an operation has touched every ref (e.g., because you are
- cloning a repository to make a backup).
+ If set to `0`, ignore broken or badly named refs when iterating
+ over lists of refs. Normally Git will try to include any such
+ refs, which may cause some operations to fail. This is usually
+ preferable, as potentially destructive operations (e.g.,
+ linkgit:git-prune[1]) are better off aborting rather than
+ ignoring broken refs (and thus considering the history they
+ point to as not worth saving). The default value is `1` (i.e.,
+ be paranoid about detecting and aborting all operations). You
+ should not normally need to set this to `0`, but it may be
+ useful when trying to salvage data from a corrupted repository.
`GIT_ALLOW_PROTOCOL`::
If set to a colon-separated list of protocols, behave as if