Skip to content

Commit 929ed70

Browse files
stefanbellergitster
authored andcommitted
diff.h: make pickaxe_opts an unsigned bit field
This variable is used as a bit field[1], and as we are about to add more fields, indicate its usage as a bit field by making it unsigned. [1] containing the bits #define DIFF_PICKAXE_ALL 1 #define DIFF_PICKAXE_REGEX 2 #define DIFF_PICKAXE_KIND_S 4 #define DIFF_PICKAXE_KIND_G 8 Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d8df70f commit 929ed70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diff.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ struct diff_options {
146146
int skip_stat_unmatch;
147147
int line_termination;
148148
int output_format;
149-
int pickaxe_opts;
149+
unsigned pickaxe_opts;
150150
int rename_score;
151151
int rename_limit;
152152
int needed_rename_limit;

0 commit comments

Comments
 (0)