Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Pass over a notes ref that names no tree
A pusher can point refs/notes/commits or a signature notes ref at any object, and git dies loading one that is no tree, which ended every page of the repository, the dumb transport included.
-rw-r--r--source/cgit.c17
-rw-r--r--source/shared.c9
-rw-r--r--source/shared.h7
-rw-r--r--source/ui-snapshot.c7
-rwxr-xr-xtests/t0303-robustness.sh20
5 files changed, 56 insertions, 4 deletions