summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Bradley <rick@rickbradley.com>2012-12-18 16:07:18 -0600
committerRick Bradley <rick@rickbradley.com>2012-12-18 16:07:18 -0600
commit33f169e24e9219e96ff7835c28d080c95356d3ec (patch)
treef1646f6c7054c5f9f675569565611042c9223389
parente62171e2fc1b101512a7e86f6d990a38b78ed12b (diff)
downloadlibgit2-33f169e24e9219e96ff7835c28d080c95356d3ec.tar.gz
Improve comment text
This looked wrong to me. I *think* this is more appropriate commentary.
-rw-r--r--src/refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refs.c b/src/refs.c
index 85813096b..57c5d8124 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -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;