summaryrefslogtreecommitdiffstats
path: root/debian/git-doc.doc-base.the-racy-git-problem
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:47:55 +0000
commitf04f772d4c2791a1bc0e36fe8df2dc8d62ea8378 (patch)
tree6601becfb9eccb5e3361f1f802e96ea7839bfca8 /debian/git-doc.doc-base.the-racy-git-problem
parentAdding upstream version 1:2.39.2. (diff)
downloadgit-fa1c328135bf5469d68945786bd95b4baa7c4c0e.tar.xz
git-fa1c328135bf5469d68945786bd95b4baa7c4c0e.zip
Adding debian version 1:2.39.2-1.1.debian/1%2.39.2-1.1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/git-doc.doc-base.the-racy-git-problem')
-rw-r--r--debian/git-doc.doc-base.the-racy-git-problem19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/git-doc.doc-base.the-racy-git-problem b/debian/git-doc.doc-base.the-racy-git-problem
new file mode 100644
index 0000000..1991c13
--- /dev/null
+++ b/debian/git-doc.doc-base.the-racy-git-problem
@@ -0,0 +1,19 @@
+Document: the-racy-git-problem
+Title: Use of index and the "racy git" problem
+Author: Junio C Hamano
+Abstract: In order to speed up comparison between files in
+ the work tree and index entries, git compares current
+ lstat(2) information with saved lstat(2) information from
+ whenever it updated the corresponding index entry. A very
+ quick update that does not change file size could therefore
+ make git incorrectly think files in the working tree are
+ unmodified even though they actually are modified. This is
+ called the "racy git" problem (discovered by Pasky), and
+ the entries that would appear clean when they ought not to
+ be because of this problem are called "racily clean".
+ .
+ This document explains how git avoids that problem.
+Section: File Management
+
+Format: Text
+Files: /usr/share/doc/git-doc/technical/racy-git.txt