summaryrefslogtreecommitdiff
path: root/compat/nedmalloc/License.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2012-11-28 16:35:29 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-11-28 13:52:54 -0800
commit5c17f51270e1b384e03fb9c16b5a0040b115ae8c (patch)
tree0068fb09ecdb92495d3529d918759e16a943dc3c /compat/nedmalloc/License.txt
parentfsck: warn about '.' and '..' in trees (diff)
downloadtgif-5c17f51270e1b384e03fb9c16b5a0040b115ae8c.tar.xz
fsck: warn about ".git" in trees
Having a ".git" entry inside a tree can cause confusing results on checkout. At the top-level, you could not checkout such a tree, as it would complain about overwriting the real ".git" directory. In a subdirectory, you might check it out, but performing operations in the subdirectory would confusingly consider the in-tree ".git" directory as the repository. The regular git tools already make it hard to accidentally add such an entry to a tree, and do not allow such entries to enter the index at all. Teaching fsck about it provides an additional safety check, and let's us avoid propagating any such bogosity when transfer.fsckObjects is on. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/nedmalloc/License.txt')
0 files changed, 0 insertions, 0 deletions