Allow git-checkout when on a non-existant branch.
[gitweb.git] / grep.h
diff --git a/grep.h b/grep.h
index 80122b05df9b6bee0f89cecf99cf4303f0833af4..0b503ea6657692672c3365f3090151cc5e9e6681 100644 (file)
--- a/grep.h
+++ b/grep.h
@@ -3,6 +3,8 @@
 
 enum grep_pat_token {
        GREP_PATTERN,
+       GREP_PATTERN_HEAD,
+       GREP_PATTERN_BODY,
        GREP_AND,
        GREP_OPEN_PAREN,
        GREP_CLOSE_PAREN,
@@ -10,6 +12,11 @@ enum grep_pat_token {
        GREP_OR,
 };
 
+enum grep_context {
+       GREP_CONTEXT_HEAD,
+       GREP_CONTEXT_BODY,
+};
+
 struct grep_pat {
        struct grep_pat *next;
        const char *origin;