mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 16:22:40 +00:00
Improve comment text
This looked wrong to me. I *think* this is more appropriate commentary.
This commit is contained in:
parent
e62171e2fc
commit
33f169e24e
@ -166,7 +166,7 @@ static int loose_parse_oid(git_oid *oid, git_buf *file_content)
|
||||
/* str is guranteed to be zero-terminated */
|
||||
str = git_buf_cstr(file_content);
|
||||
|
||||
/* If the file is longer than 40 chars, the 41st must be a space */
|
||||
/* we need to get 40 OID characters from the file */
|
||||
if (git_oid_fromstr(oid, git_buf_cstr(file_content)) < 0)
|
||||
goto corrupted;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user