From: Junio C Hamano Date: Thu, 18 Aug 2022 20:07:04 +0000 (-0700) Subject: Merge branch 'jk/fsck-tree-mode-bits-fix' X-Git-Tag: v2.38.0-rc0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=363a193c3a2141f34808d70fdae8beac76076a53;p=thirdparty%2Fgit.git Merge branch 'jk/fsck-tree-mode-bits-fix' "git fsck" reads mode from tree objects but canonicalizes the mode before passing it to the logic to check object sanity, which has hid broken tree objects from the checking logic. This has been corrected, but to help exiting projects with broken tree objects that they cannot fix retroactively, the severity of anomalies this code detects has been demoted to "info" for now. * jk/fsck-tree-mode-bits-fix: fsck: downgrade tree badFilemode to "info" fsck: actually detect bad file modes in trees tree-walk: add a mechanism for getting non-canonicalized modes --- 363a193c3a2141f34808d70fdae8beac76076a53