X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=htdocs%2Fconfig.example.php;h=0755ec8398473defba2ce04f2a1ad149b83c05d6;hb=574f4ed4076c84231ec75dc70a9120c553e37374;hp=f33327883a91b8ff8da28f73c3704a0bd05fec86;hpb=0a6d29345b57ef71b076003e18d13efd3478764c;p=phpgitweb.git diff --git a/htdocs/config.example.php b/htdocs/config.example.php index f333278..0755ec8 100644 --- a/htdocs/config.example.php +++ b/htdocs/config.example.php @@ -41,11 +41,40 @@ class GitConfig { /* Override Project Owner to this one */ const PROJECT_OWNER = NULL; + /* Git Base URL (The URL where all the repositories can be cloned from.) */ + //static public $GIT_BASE_URL = NULL; + static public $GIT_BASE_URL = array("git://git.example.net"); + /* Template name */ const TEMPLATE_NAME = NULL; /* Git executable */ const GIT_EXEC = NULL; /* autodetect */ + + /* GIT Graphs */ + const GITGRAPH_ENABLE = true; + const GITGRAPH_DATA_URL = true; + const GITGRAPH_MAX_BRANCHES = 20; + const GITGRAPH_END_SIZE = 20; + const GITGRAPH_TILE_SIZE = 20; + const GITGRAPH_BASE64 = true; + + /* rename detection options for git-diff and git-diff-tree + * - default is '0', with the cost proportional to + * (number of removed files) * (number of new files). + * can detect renames of files + * - more costly is '1' (which implies '0'), with the cost proportional to + * (number of changed files + number of removed files) * (number of new files) + * can detect renames and copies of changed files + * - even more costly is '2' (which implies '0', '1'), with cost + * (number of files in the original tree) * (number of new files) + * can detect renames and copies of all files + * + * DETECT_REWRITES enables the additional detection for complete rewrites + */ + const DETECT_RENAME_LEVEL = 0; + const DETECT_REWRITES = false; + } ?> \ No newline at end of file