patch-ids: add flag to create the diff patch id using header only data
[gitweb.git] / patch-ids.c
index bafaae2a6af40ebb56f8ea27d53115a6ff3466f3..69a14a3b50eeb62d4ec4561fe5395db12b06b366 100644 (file)
@@ -13,7 +13,7 @@ int commit_patch_id(struct commit *commit, struct diff_options *options,
        else
                diff_root_tree_sha1(commit->object.oid.hash, "", options);
        diffcore_std(options);
-       return diff_flush_patch_id(options, sha1);
+       return diff_flush_patch_id(options, sha1, 0);
 }
 
 static int patch_id_cmp(struct patch_id *a,