summaryrefslogtreecommitdiff
path: root/grep.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-03-25 14:00:54 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-25 14:00:54 -0700
commitedb99f95f54e9aea8ff4a93a6609a290e0871161 (patch)
tree9dbf64199e1d0f5ef0089ad861d7faceef990ef2 /grep.h
parentMerge branch 'pw/p4-symlinked-root' (diff)
parentfix clang -Wtautological-compare with unsigned enum (diff)
downloadtgif-edb99f95f54e9aea8ff4a93a6609a290e0871161.tar.xz
Merge branch 'jk/suppress-clang-warning'
* jk/suppress-clang-warning: fix clang -Wtautological-compare with unsigned enum
Diffstat (limited to 'grep.h')
-rw-r--r--grep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/grep.h b/grep.h
index 8fc854f400..e4a1df56a4 100644
--- a/grep.h
+++ b/grep.h
@@ -28,7 +28,8 @@ enum grep_context {
};
enum grep_header_field {
- GREP_HEADER_AUTHOR = 0,
+ GREP_HEADER_FIELD_MIN = 0,
+ GREP_HEADER_AUTHOR = GREP_HEADER_FIELD_MIN,
GREP_HEADER_COMMITTER,
GREP_HEADER_REFLOG,