Commit 25fa3ae39c5d043832071aae4f47ea52b4c5f62d

Vicent Martí 2012-12-18T14:18:04

Merge pull request #1157 from rick/trivial-comment-fix Trivial comment fix

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/refs.c b/src/refs.c
index 8581309..35babaa 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;