summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-05 12:37:40 -0700
committerJunio C Hamano <gitster@pobox.com>2009-08-05 12:37:40 -0700
commitc39e9eb3df18c34330d50ebfae28b42880d9a4cc (patch)
treee401088b387f87c81127c707e381d61176905226 /gitweb
parentf621a8454d19d17fe46e6951b7e3d22bebd92aba (diff)
parentf0df1293acdba9513cae17e2c63b4169f1347371 (diff)
downloadgit-c39e9eb3df18c34330d50ebfae28b42880d9a4cc.tar.gz
Merge branch 'maint'
* maint: gitweb/README: Document $base_url Documentation: git submodule: add missing options to synopsis Better usage string for reflog. hg-to-git: don't import the unused popen2 module send-email: remove debug trace config: Keep inner whitespace verbatim
Diffstat (limited to 'gitweb')
-rw-r--r--gitweb/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/gitweb/README b/gitweb/README
index 9056d1e090..66c6a9391d 100644
--- a/gitweb/README
+++ b/gitweb/README
@@ -165,6 +165,12 @@ not include variables usually directly set during build):
Full URL and absolute URL of gitweb script;
in earlier versions of gitweb you might have need to set those
variables, now there should be no need to do it.
+ * $base_url
+ Base URL for relative URLs in pages generated by gitweb,
+ (e.g. $logo, $favicon, @stylesheets if they are relative URLs),
+ needed and used only for URLs with nonempty PATH_INFO via
+ <base href="$base_url>. Usually gitweb sets its value correctly,
+ and there is no need to set this variable, e.g. to $my_uri or "/".
* $home_link
Target of the home link on top of all pages (the first part of view
"breadcrumbs"). By default set to absolute URI of a page ($my_uri).