help: check early if we have a command, if not try a documentation topic
[gitweb.git] / environment.c
index d5c3e29e9766d8d1b58c9d4ec6a059926cefce46..084ac8a4361d5486456813149a1e673c07a7a0b2 100644 (file)
@@ -130,13 +130,6 @@ char *get_object_directory(void)
        return git_object_dir;
 }
 
-char *get_refs_directory(void)
-{
-       if (!git_refs_dir)
-               setup_git_env();
-       return git_refs_dir;
-}
-
 char *get_index_file(void)
 {
        if (!git_index_file)