t5533: test "push --force-with-lease"
[gitweb.git] / diff-lib.c
index 83d0cb8f8212aeb284edb4147d15288db8f0f0bd..b6f4b21637fe66a614a0dd6581f90fc12e80a6f8 100644 (file)
@@ -424,7 +424,8 @@ static void do_oneway_diff(struct unpack_trees_options *o,
  * the fairly complex unpack_trees() semantic requirements, including
  * the skipping, the path matching, the type conflict cases etc.
  */
-static int oneway_diff(struct cache_entry **src, struct unpack_trees_options *o)
+static int oneway_diff(const struct cache_entry * const *src,
+                      struct unpack_trees_options *o)
 {
        const struct cache_entry *idx = src[0];
        const struct cache_entry *tree = src[1];