git-show-branch doc: show -g as synonym to --reflog in the list
[gitweb.git] / mktag.c
diff --git a/mktag.c b/mktag.c
index ba3d495e0715d83ffab3103e4d340a3b9ac4f4e7..6d5083eaf04b9ad1b54dad5eaca33d9a73373bbd 100644 (file)
--- a/mktag.c
+++ b/mktag.c
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "tag.h"
+#include "exec_cmd.h"
 
 /*
  * A signature file has a very simple fixed format: four lines
@@ -159,6 +160,8 @@ int main(int argc, char **argv)
        if (argc != 1)
                usage("git-mktag < signaturefile");
 
+       git_extract_argv0_path(argv[0]);
+
        setup_git_directory();
 
        if (strbuf_read(&buf, 0, 4096) < 0) {