Git/Packet: clarify that packet_required_key_val_read allows EOF
[gitweb.git] / http-push.c
index df969609beed88439845d9324b2fed15ff32b109..493ee7d719d488f25cd6c45bb4c7ce1d5a75977b 100644 (file)
@@ -11,6 +11,7 @@
 #include "list-objects.h"
 #include "sigchain.h"
 #include "argv-array.h"
+#include "packfile.h"
 
 #ifdef EXPAT_NEEDS_XMLPARSE_H
 #include <xmlparse.h>
@@ -1522,6 +1523,7 @@ static int remote_exists(const char *path)
                break;
        case HTTP_ERROR:
                error("unable to access '%s': %s", url, curl_errorstr);
+               /* fallthrough */
        default:
                ret = -1;
        }