Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/grep' into next
[gitweb.git]
/
sha1_name.c
diff --git
a/sha1_name.c
b/sha1_name.c
index ec5cd2c9ea42cfdd07a1fcac1f2c05072aa26193..dc6835520ccfd4838b47a4af81ccf139f55e1801 100644
(file)
--- a/
sha1_name.c
+++ b/
sha1_name.c
@@
-498,6
+498,7
@@
int get_sha1(const char *name, unsigned char *sha1)
memcpy(sha1, ce->sha1, 20);
return 0;
}
+ pos++;
}
return -1;
}