Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rr/send-email-ssl-verify'
[gitweb.git]
/
read-cache.c
diff --git
a/read-cache.c
b/read-cache.c
index d5201f9b06c3f5ac53b8a6f5396fbf3392f1b3b2..d4474eab7b6f9ffbfb4e7da23d284c936f488276 100644
(file)
--- a/
read-cache.c
+++ b/
read-cache.c
@@
-722,7
+722,7
@@
struct cache_entry *make_cache_entry(unsigned int mode,
return ce;
}
-int ce_same_name(
struct cache_entry *a,
struct cache_entry *b)
+int ce_same_name(
const struct cache_entry *a, const
struct cache_entry *b)
{
int len = ce_namelen(a);
return ce_namelen(b) == len && !memcmp(a->name, b->name, len);