refs: ? detect branches from remote origin? (no need to pull local branches for non-bare repos). performance: - optimize git_diff_get_stats. - speed up generating files. cleanup: - simplify writebranches and writetags, just use git_reference_*, it should kill some lines. layout: - make top menu look nicer in links/lynx again. ? show tags in log. documentation: - improve mandoc pages.