Revert "We do not like "HEAD" as a new branch name"
[gitweb.git] / mktag.c
diff --git a/mktag.c b/mktag.c
index 585677eb83cd0fd21963d21291a6af2b54fc9c84..97e270a5761f071aeb3666b595b5cd6a8cbd4098 100644 (file)
--- a/mktag.c
+++ b/mktag.c
@@ -111,6 +111,8 @@ int main(int argc, char **argv)
        if (argc != 1)
                usage("cat <signaturefile> | git-mktag");
 
+       setup_git_directory();
+
        // Read the signature
        size = 0;
        for (;;) {