Code

diff -p: squelch "diff --git" header for stat-dirty paths
[git.git] / diffcore.h
index 05ebc115a13df5c1b80128489619d753ed107a6f..b8f1fdecf4d9e5e8f8e834eb55a374f1af8352fd 100644 (file)
@@ -91,13 +91,11 @@ struct diff_queue_struct {
        struct diff_filepair **queue;
        int alloc;
        int nr;
-       int run;
 };
 #define DIFF_QUEUE_CLEAR(q) \
        do { \
                (q)->queue = NULL; \
                (q)->nr = (q)->alloc = 0; \
-               (q)->run = 0; \
        } while (0)
 
 extern struct diff_queue_struct diff_queued_diff;
@@ -109,7 +107,7 @@ extern void diff_q(struct diff_queue_struct *, struct diff_filepair *);
 extern void diffcore_break(int);
 extern void diffcore_rename(struct diff_options *);
 extern void diffcore_merge_broken(void);
-extern void diffcore_pickaxe(const char *needle, int opts);
+extern void diffcore_pickaxe(struct diff_options *);
 extern void diffcore_order(const char *orderfile);
 
 #define DIFF_DEBUG 0