summaryrefslogtreecommitdiffstats
path: root/refs.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-05-15 08:51:10 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-15 16:30:52 +0200
commit8e4f5c2dc26e8e88c8c4784f133d2b35a771d2ac (patch)
treec17cf925061fe0ad3e5b9280c6f6e450a978abbb /refs.h
parentref-filter: properly distinuish pseudo and root refs (diff)
downloadgit-8e4f5c2dc26e8e88c8c4784f133d2b35a771d2ac.tar.xz
git-8e4f5c2dc26e8e88c8c4784f133d2b35a771d2ac.zip
refs: refuse to write pseudorefs
Pseudorefs are not stored in the ref database as by definition, they carry additional metadata that essentially makes them not a ref. As such, writing pseudorefs via the ref backend does not make any sense whatsoever as the ref backend wouldn't know how exactly to store the data. Restrict writing pseudorefs via the ref backend. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
0 files changed, 0 insertions, 0 deletions