Skip to content

Commit a47fcbe

Browse files
avargitster
authored andcommitted
diff.h: move pickaxe fields together again
Move the pickaxe and pickaxe_opts fields next to each other again. In a past life they'd been on adjacent lines, but when they got moved from a global variable to the diff_options struct in 6b5ee13 (Diff clean-up., 2005-09-21) they got split apart. That split made sense at the time, the "char*" and "int" (flags) options were being grouped, but we've long since abandoned that pattern in the diff_options struct, and now it makes more sense to group these together again. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d26ec88 commit a47fcbe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

diff.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ struct diff_options {
265265
* postimage of the diff_queue.
266266
*/
267267
const char *pickaxe;
268+
unsigned pickaxe_opts;
268269

269270
/* -I<regex> */
270271
regex_t **ignore_regex;
@@ -304,8 +305,6 @@ struct diff_options {
304305
/* The output format used when `diff_flush()` is run. */
305306
int output_format;
306307

307-
unsigned pickaxe_opts;
308-
309308
/* Affects the way detection logic for complete rewrites, renames and
310309
* copies.
311310
*/

0 commit comments

Comments
 (0)