X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=diff-helper.c;h=734956e4da47c1a7e982a7a9fd16afe9d49f9cf0;hb=b93aa3ec9506618e9a22c04d775b35f31e7e068f;hp=07ccd7cc38d02843d339a9feb21088912f63dcba;hpb=89ab859e9452cbc8f1f15afab52257e9b789c899;p=git.git diff --git a/diff-helper.c b/diff-helper.c index 07ccd7cc..734956e4 100644 --- a/diff-helper.c +++ b/diff-helper.c @@ -20,7 +20,7 @@ static void flush_them(int ac, const char **av) diff_flush(DIFF_FORMAT_PATCH, '\n'); } -static const char *diff_helper_usage = +static const char diff_helper_usage[] = "git-diff-helper [-z] [-O] [-S] [--pickaxe-all] [...]"; int main(int ac, const char **av) { @@ -91,7 +91,7 @@ int main(int ac, const char **av) { if (*cp++ != ' ') break; status = *cp++; - if (!strchr("MCRNDU", status)) + if (!strchr("AMCRDU", status)) break; two_paths = score = 0; if (status == DIFF_STATUS_RENAMED ||