]> git.ipfire.org Git - thirdparty/git.git/blobdiff - diff.c
Merge branch 'nd/const-struct-cache-entry'
[thirdparty/git.git] / diff.c
diff --git a/diff.c b/diff.c
index 0b1b5e7af8931692a81500c35e7e06ca60da876a..a4583f01107c4534c1939ffcd5effcb959ea732e 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -2586,7 +2586,7 @@ void fill_filespec(struct diff_filespec *spec, const unsigned char *sha1,
  */
 static int reuse_worktree_file(const char *name, const unsigned char *sha1, int want_file)
 {
-       struct cache_entry *ce;
+       const struct cache_entry *ce;
        struct stat st;
        int pos, len;