]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'sj/ref-contents-check'
authorJunio C Hamano <gitster@pobox.com>
Wed, 4 Dec 2024 01:14:42 +0000 (10:14 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Dec 2024 01:14:42 +0000 (10:14 +0900)
commit57e81b59f35198afedae18e8363dbffdc96c481d
tree3c529bb89a7bfd7851f6bea33d93e1505fa678b0
parent7ee055b2378d18b5b4ce275ca26d399b7db14fa4
parentc9f03f38821ee4472a137a3272bf6ddd7037f5fd
Merge branch 'sj/ref-contents-check'

"git fsck" learned to issue warnings on "curiously formatted" ref
contents that have always been taken valid but something Git
wouldn't have written itself (e.g., missing terminating end-of-line
after the full object name).

* sj/ref-contents-check:
  ref: add symlink ref content check for files backend
  ref: check whether the target of the symref is a ref
  ref: add basic symref content check for files backend
  ref: add more strict checks for regular refs
  ref: port git-fsck(1) regular refs check for files backend
  ref: support multiple worktrees check for refs
  ref: initialize ref name outside of check functions
  ref: check the full refname instead of basename
  ref: initialize "fsck_ref_report" with zero
refs.c
refs.h
refs/debug.c
refs/files-backend.c
refs/packed-backend.c
refs/refs-internal.h
refs/reftable-backend.c
t/t0602-reffiles-fsck.sh