From: Peter Eriksen <s022018@xxxxxxxxxxxxxx> Date: Tue Apr 4 17:40:02 2006 +0200 Subject: [PATCH] read-cache.c: Slight parameter name improvement. Signed-off-by: Peter Eriksen <s022018@xxxxxxxxxxxxxx> --- read-cache.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) dde622db1412a556b216eceff4a9a677b41568c3 diff --git a/read-cache.c b/read-cache.c index f97f92d..2e8fdc5 100644 --- a/read-cache.c +++ b/read-cache.c @@ -257,7 +257,7 @@ int cache_name_compare(const char *name1 return 0; } -int cache_name_pos(const char *name, int namelen) +int cache_name_pos(const char *name, int flags) { int first, last; @@ -266,7 +266,7 @@ int cache_name_pos(const char *name, int while (last > first) { int next = (last + first) >> 1; struct cache_entry *ce = active_cache[next]; - int cmp = cache_name_compare(name, namelen, ce->name, ntohs(ce->ce_flags)); + int cmp = cache_name_compare(name, flags, ce->name, ntohs(ce->ce_flags)); if (!cmp) return next; if (cmp < 0) { -- 1.3.0.rc1.gfc99-dirty - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html