fetch: don't overlay config with submodule-config
[gitweb.git] / builtin / tag.c
index 1f74a56db749a5e1ffa06715e347cdc1b041033b..b25bf8daa289d75af023fd5f14034eccdb2a9d37 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include "cache.h"
+#include "config.h"
 #include "builtin.h"
 #include "refs.h"
 #include "tag.h"
@@ -110,7 +111,7 @@ static int verify_tag(const char *name, const char *ref,
        if (fmt_pretty)
                flags = GPG_VERIFY_OMIT_STATUS;
 
-       if (gpg_verify_tag(oid->hash, name, flags))
+       if (gpg_verify_tag(oid, name, flags))
                return -1;
 
        if (fmt_pretty)