summaryrefslogtreecommitdiffstats
path: root/git.html
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.html
parent05971eb76ddbc27b8e5624df0761184bebc000e3 (diff)
downloadgit-htmldocs-7c7cb3360bfca12cec5fa485344d786c4252d247.tar.gz
Autogenerated HTML docs for v2.33.0-785-g2a972
Diffstat (limited to 'git.html')
-rw-r--r--git.html21
1 files changed, 11 insertions, 10 deletions
diff --git a/git.html b/git.html
index 034634924..b33ec7039 100644
--- a/git.html
+++ b/git.html
@@ -3419,15 +3419,16 @@ for full details.</p></div>
</dt>
<dd>
<p>
- If set to <code>1</code>, 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 <a href="git-prune.html">git-prune(1)</a>. 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 <code>0</code>, 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.,
+ <a href="git-prune.html">git-prune(1)</a>) 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 <code>1</code> (i.e.,
+ be paranoid about detecting and aborting all operations). You
+ should not normally need to set this to <code>0</code>, but it may be
+ useful when trying to salvage data from a corrupted repository.
</p>
</dd>
<dt class="hdlist1">
@@ -3646,7 +3647,7 @@ the Git Security mailing list &lt;<a href="mailto:git-security@googlegroups.com"
<div id="footer">
<div id="footer-text">
Last updated
- 2021-09-23 14:33:59 PDT
+ 2021-10-11 12:48:01 PDT
</div>
</div>
</body>