Code

git format-patch: avoid underrun when format.headers is empty or all NLs
[git.git] / merge-tree.c
index 8be0b9f910b7c2fa9506ffe5fb31bd4632eaa1a1..02fc10f7e622ba1c53065e7cf4563ff10af0c41f 100644 (file)
@@ -287,7 +287,7 @@ static void unresolved(const struct traverse_info *info, struct name_entry n[3])
  * The successful merge rules are the same as for the three-way merge
  * in git-read-tree.
  */
-static int threeway_callback(int n, unsigned long mask, struct name_entry *entry, struct traverse_info *info)
+static int threeway_callback(int n, unsigned long mask, unsigned long dirmask, struct name_entry *entry, struct traverse_info *info)
 {
        /* Same in both? */
        if (same_entry(entry+1, entry+2)) {