gitweb.cgi: Show "raw" head of project link even when $hash is not defined
[gitweb.git] / builtin-update-ref.c
index 00333c7e7ca0e706be425182ff92b98a16ac3883..83094abe0f20d36bf2d9e65539fb2c8b7a5644fc 100644 (file)
@@ -12,6 +12,7 @@ int cmd_update_ref(int argc, const char **argv, char **envp)
        unsigned char sha1[20], oldsha1[20];
        int i;
 
+       setup_ident();
        setup_git_directory();
        git_config(git_default_config);