X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=apply.c;h=c81b0a240a38b57a9bbd2586889304bef8f5cbbf;hb=2eb6d82eaa869a1faf4ba3326fd628f76f9f93a8;hp=31f134c9b325263fc10e09bb92570010241ca449;hpb=96c912a48401fbc8fce94c791f6afc49dcb9f7ac;p=git.git diff --git a/apply.c b/apply.c index 31f134c9..c81b0a24 100644 --- a/apply.c +++ b/apply.c @@ -860,7 +860,6 @@ static int find_offset(const char *buf, unsigned long size, const char *fragment n = (i >> 1)+1; if (i & 1) n = -n; - fprintf(stderr, "Fragment applied at offset %d\n", n); return try; } @@ -1434,6 +1433,10 @@ int main(int argc, char **argv) check_index = 1; continue; } + if (!strcmp(arg, "--apply")) { + apply = 1; + continue; + } if (!strcmp(arg, "--show-files")) { show_files = 1; continue;