diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-01-08 18:32:36 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-08 09:28:00 -0800 |
commit | 6293ded348a918e5644d286dcd8b05044097c27d (patch) | |
tree | c5e4b749f9bc8de68616d6aa29620127eba580e1 /RelNotes | |
parent | Git 1.7.12.4 (diff) | |
download | tgif-6293ded348a918e5644d286dcd8b05044097c27d.tar.xz |
upload-pack: only accept commits from "shallow" line
We only allow cuts at commits, not arbitrary objects. upload-pack will
fail eventually in register_shallow if a non-commit is given with a
generic error "Object %s is a %s, not a commit". Check it early and
give a more accurate error.
This should never show up in an ordinary session. It's for buggy
clients, or when the user manually edits .git/shallow.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'RelNotes')
0 files changed, 0 insertions, 0 deletions