tree-diff: don't access hash of NULL object_id pointer
[gitweb.git] / grep.h
diff --git a/grep.h b/grep.h
index 267534ca24df532505854e1af31c53ed01bab24e..c88b40bdc41435677c1ccafcdd5263697e63647b 100644 (file)
--- a/grep.h
+++ b/grep.h
@@ -158,7 +158,7 @@ struct grep_source {
        char *name;
 
        enum grep_source_type {
-               GREP_SOURCE_SHA1,
+               GREP_SOURCE_OID,
                GREP_SOURCE_FILE,
                GREP_SOURCE_BUF,
                GREP_SOURCE_SUBMODULE,