string_list: Fix argument order for string_list_lookup
[gitweb.git] / builtin / merge.c
index 64c6c6f393ffd9a8cc55883cac863c6ab09639a8..37d414b3ba95162953aec001e6036956eb1a97f6 100644 (file)
@@ -676,7 +676,7 @@ static int count_unmerged_entries(void)
        return ret;
 }
 
-static int checkout_fast_forward(unsigned char *head, unsigned char *remote)
+int checkout_fast_forward(const unsigned char *head, const unsigned char *remote)
 {
        struct tree *trees[MAX_UNPACK_TREES];
        struct unpack_trees_options opts;