summaryrefslogtreecommitdiffstats
path: root/src/makepatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/makepatch.c')
-rw-r--r--src/makepatch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/makepatch.c b/src/makepatch.c
index 01af65e..5ae5b29 100644
--- a/src/makepatch.c
+++ b/src/makepatch.c
@@ -59,6 +59,8 @@ static int cb(DB *ddb, struct syrep_name *name, struct diff_entry *de, void *p)
fprintf(stderr, "Adding %s (%s) to patch.\n", name->path, d);
+ /*** MISSING: DO NOT ADD FILES ALREADY EXISTING BY MD5 ***/
+
if (!package_get_item(cb_info->c1->package, d, 0))
if (package_add_file(cb_info->c1->package, d, path) < 0)
return -1;