author | Mark Rada <marada@uwaterloo.ca> | |
Sat, 3 Apr 2010 00:40:33 +0000 (20:40 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 3 Apr 2010 04:23:40 +0000 (21:23 -0700) | ||
commit | 09b89d1a082a298a182875076c068711210bb5c2 | |
tree | be1c90185580eb3b547a46c00126ada670e77a02 | tree | snapshot |
parent | bb4bbf75829d1a6c021e34943ff4e942f064bb55 | commit | diff |
instaweb: add minification awareness
This patch will cause git-instaweb to use the minified version of gitweb
support files (e.g. CSS and JavaScript) if they were generated.
Without minification awareness, generating the minified version of
gitweb's support files will generate a broken instaweb script since the
copy of gitweb.cgi will look for gitweb.min.* which will not exist.
Signed-off-by: Mark Rada <marada@uwaterloo.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This patch will cause git-instaweb to use the minified version of gitweb
support files (e.g. CSS and JavaScript) if they were generated.
Without minification awareness, generating the minified version of
gitweb's support files will generate a broken instaweb script since the
copy of gitweb.cgi will look for gitweb.min.* which will not exist.
Signed-off-by: Mark Rada <marada@uwaterloo.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history | |
git-instaweb.sh | diff | blob | history |