summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-09-15 21:10:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-10-05 20:45:31 (GMT)
commitf989fea0e0b47873de62a355f4766f03a88fb01b (patch)
tree6adaf0ef216fcff1b6bdb2c7291b58ed8e9ec917 /refs.h
parent629cd3ac6d081b43c8cdb045845be1fedbc89615 (diff)
downloadgit-f989fea0e0b47873de62a355f4766f03a88fb01b.zip
git-f989fea0e0b47873de62a355f4766f03a88fb01b.tar.gz
git-f989fea0e0b47873de62a355f4766f03a88fb01b.tar.bz2
resolve_ref(): also treat a too-long SHA1 as invalid
If the SHA1 in a reference file is not terminated by a space or end-of-file, consider it malformed and emit a warning. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
0 files changed, 0 insertions, 0 deletions