diff options
author | Stefan Beller <sbeller@google.com> | 2018-01-04 14:50:39 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-01-04 15:02:40 -0800 |
commit | 929ed70a7263fc3be909b363993672b649153706 (patch) | |
tree | 1e69e2293e5fa2d12b1daac603d51012787334b1 /diff.h | |
parent | d8df70f2739af78cab6d7f9b942e890da6fbd01d (diff) | |
download | git-929ed70a7263fc3be909b363993672b649153706.tar.gz |
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>
Diffstat (limited to 'diff.h')
-rw-r--r-- | diff.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -146,7 +146,7 @@ struct diff_options { int skip_stat_unmatch; int line_termination; int output_format; - int pickaxe_opts; + unsigned pickaxe_opts; int rename_score; int rename_limit; int needed_rename_limit; |