X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=diff-cache.c;h=1e0fda52993f76afc0ee866f3e29a43469fcfd7c;hb=e25de75696dc99f327c8dd8e2cba937939e281ca;hp=66e7bdb62e80f7dd114c72171842691c3a237df7;hpb=6145ee8b361959db04b8cdefc883e4fc2dc27276;p=git.git diff --git a/diff-cache.c b/diff-cache.c index 66e7bdb6..1e0fda52 100644 --- a/diff-cache.c +++ b/diff-cache.c @@ -206,7 +206,7 @@ int main(int argc, const char **argv) diff_setup_opt |= DIFF_SETUP_REVERSE; continue; } - if (!strcmp(arg, "-S")) { + if (!strncmp(arg, "-S", 2)) { pickaxe = arg + 2; continue; }