read-cache.c: remove 'const' from index_has_changes()
[gitweb.git] / read-cache.c
index 7b1354d7590a70ecbd6e508bdd95eafd4793efcc..86134e56a6819b2417a7fe16bc3594d320a34526 100644 (file)
@@ -2122,7 +2122,7 @@ int unmerged_index(const struct index_state *istate)
        return 0;
 }
 
-int index_has_changes(const struct index_state *istate,
+int index_has_changes(struct index_state *istate,
                      struct tree *tree,
                      struct strbuf *sb)
 {