test-lib: introduce 'test_atexit'
[gitweb.git] / diff-no-index.c
index 0ed5f0f496882cef9e04f9a93fe718a9f55a268a..6001baecd4c61ae22dd0aaec11bd4bc48a9152f8 100644 (file)
@@ -241,7 +241,6 @@ void diff_no_index(struct rev_info *revs,
        struct strbuf replacement = STRBUF_INIT;
        const char *prefix = revs->prefix;
 
-       diff_setup(&revs->diffopt);
        for (i = 1; i < argc - 2; ) {
                int j;
                if (!strcmp(argv[i], "--no-index"))