X-Git-Url: http://git.pk910.de/?p=phpgitweb.git;a=blobdiff_plain;f=htdocs%2Fconfig.example.php;fp=htdocs%2Fconfig.example.php;h=247833f1f8521340f276fe1757af1d5a597edf3e;hp=6b3bdc4656dcc5891e6e7d8ab03c7cc2c6f3f3f4;hb=3225d787391540a52b39a34ca809a71d443b49f0;hpb=96f3e3d16220ee514ee16a43a47f8e669fc25cf0 diff --git a/htdocs/config.example.php b/htdocs/config.example.php index 6b3bdc4..247833f 100644 --- a/htdocs/config.example.php +++ b/htdocs/config.example.php @@ -57,6 +57,23 @@ class GitConfig { 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