gitweb: Use @diff_opts, default ('M'), as git-diff and git-diff-tree paramete
commit6bcf4b46c9a4ba7a6e5c78201c619fa41ac76a99
authorJakub Narebski <jnareb@gmail.com>
Sun, 27 Aug 2006 21:49:36 +0000 (27 23:49 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 27 Aug 2006 22:35:01 +0000 (27 15:35 -0700)
treefb7c8474403e6c5aa55fad450db45b3d931cc3e5
parent0aea33762b1262d11fb43eda9f3fc152b5622cca
gitweb: Use @diff_opts, default ('M'), as git-diff and git-diff-tree paramete

Added new global configuration variable @diff_opts, which holds
additional options (parameters) to git-diff and git-diff-tree, usually
dealing rename/copying detection.  Default value is '-M', taken from
git_commit subroutine.  Description of options and their approximate
cost by Junio C Hamano.

Changes:
* git_commitdiff, git_blobdiff and git_blobdiff_plain now use '-M'
  instead of '-M', '-C'
* git-diff now uses the same options as git-diff-tree
* git_comittdiff_plain now uses '-M' instead of '-B'
  and is now rename-aware
* git_rss uses now '-M' instead of ()

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl