summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2012-12-18 14:18:04 -0800
committerVicent Martí <vicent@github.com>2012-12-18 14:18:04 -0800
commit25fa3ae39c5d043832071aae4f47ea52b4c5f62d (patch)
tree678f3b12247c6fed9ebefd7ed06a37c81e15e233 /src
parent957a3e36046a9e58d0e6c0ab943da2b58a36c4ba (diff)
parented4e887d1ab8f6c289b40d08afb452c4c576a8e9 (diff)
downloadlibgit2-25fa3ae39c5d043832071aae4f47ea52b4c5f62d.tar.gz
Merge pull request #1157 from rick/trivial-comment-fix
Trivial comment fix
Diffstat (limited to 'src')
-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..35babaa8b 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;