]> git.ipfire.org Git - thirdparty/git.git/commitdiff
fsck doc: remove ancient out-of-date diagnostics
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 16 Jan 2021 17:15:00 +0000 (18:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Jan 2021 03:10:42 +0000 (19:10 -0800)
Remove diagnostics that haven't been emitted by "fsck" or its
predecessors for around 15 years. This documentation was added in
c64b9b88605 (Reference documentation for the core git commands.,
2005-05-05), but was out-of-date quickly after that.

Notes on individual diagnostics:

 - "expect dangling commits": Added in bcee6fd8e71 (Make 'fsck' able
   to[...], 2005-04-13), documented in c64b9b88605. Not emitted since
   1024932f019 (fsck-cache: walk the 'refs' directory[...],
   2005-05-18).

 - "missing sha1 directory": Added in 20222118ae4 (Add first cut at
   "fsck-cache"[...], 2005-04-08), documented in c64b9b88605. Not
   emitted since 230f13225df (Create object subdirectories on demand,
   2005-10-08).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fsck.txt

index d72d15be5babb2a108cf37e8ae396ae587baf1cf..bd596619c0d3d8a841bc3e033e9a3ff14c11a514 100644 (file)
@@ -129,14 +129,6 @@ using 'git commit-graph verify'. See linkgit:git-commit-graph[1].
 Extracted Diagnostics
 ---------------------
 
-expect dangling commits - potential heads - due to lack of head information::
-       You haven't specified any nodes as heads so it won't be
-       possible to differentiate between un-parented commits and
-       root nodes.
-
-missing sha1 directory '<dir>'::
-       The directory holding the sha1 objects is missing.
-
 unreachable <type> <object>::
        The <type> object <object>, isn't actually referred to directly
        or indirectly in any of the trees or commits seen. This can