aboutsummaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2015-11-10 02:22:22 +0000
committerJeff King <peff@peff.net>2015-11-20 08:02:05 -0500
commit8338c911d1c22a6d86d694003a1fa213cbe11bcf (patch)
tree0fa7fbce2ff88198803a839a0460a33e055e87b8 /strbuf.c
parent854ecb9cadde1063883e2a74ae6b8ea46c0a451a (diff)
downloadgit-8338c911d1c22a6d86d694003a1fa213cbe11bcf.tar.gz
git-8338c911d1c22a6d86d694003a1fa213cbe11bcf.tar.xz
parse_fetch: convert to use struct object_id
Convert the parse_fetch function to use struct object_id. Remove the strlen check as get_oid_hex will fail safely on receiving a too-short NUL-terminated string. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions