http: tell server that the client understands v1
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index c74b7367191ed05717bd22697ad9ac4ca747f714..3a6b869c2a26aea682a160ac993e06ab60d2b45b 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -452,6 +452,8 @@ static inline enum object_type object_type(unsigned int mode)
  * ignored.
  */
 #define GIT_PROTOCOL_ENVIRONMENT "GIT_PROTOCOL"
+/* HTTP header used to handshake the wire protocol */
+#define GIT_PROTOCOL_HEADER "Git-Protocol"
 
 /*
  * This environment variable is expected to contain a boolean indicating