aboutsummaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-21 00:00:47 -0700
committerJunio C Hamano <junkio@cox.net>2005-09-24 23:50:43 -0700
commit6b5ee137e56af8093391411389dd4b18416707ec (patch)
treeca7f7ea853bc836e1b41a52301884f3d41708c2a /read-cache.c
parentdbc37438687e110697574d175e4eca5f9cbeae81 (diff)
downloadgit-6b5ee137e56af8093391411389dd4b18416707ec.tar.gz
git-6b5ee137e56af8093391411389dd4b18416707ec.tar.xz
Diff clean-up.
This is a long overdue clean-up to the code for parsing and passing diff options. It also tightens some constness issues. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c
index ef6fd79e2..0e345bdb2 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -232,7 +232,7 @@ int remove_cache_entry_at(int pos)
return 1;
}
-int remove_file_from_cache(char *path)
+int remove_file_from_cache(const char *path)
{
int pos = cache_name_pos(path, strlen(path));
if (pos < 0)