log-tree: show_log: make commentary block delimiting reusable
[gitweb.git] / builtin / tag.c
index 26d7729f57b73a36b0345141b072b840a34e0722..9919b03b2d601a74639553e8e61baef04ffd7cd9 100644 (file)
@@ -10,6 +10,7 @@
 #include "config.h"
 #include "builtin.h"
 #include "refs.h"
+#include "object-store.h"
 #include "tag.h"
 #include "run-command.h"
 #include "parse-options.h"
@@ -118,7 +119,7 @@ static int verify_tag(const char *name, const char *ref,
                return -1;
 
        if (format->format)
-               pretty_print_ref(name, oid->hash, format);
+               pretty_print_ref(name, oid, format);
 
        return 0;
 }