Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Create links leading to 'blame_incremental' using JavaScript
[gitweb.git]
/
git-instaweb.sh
diff --git
a/git-instaweb.sh
b/git-instaweb.sh
index 5f4419b69b58769e8fee7a60109520a095a831c5..6f381c88da6e9102801c3fe42c5aefcf79c47c6b 100755
(executable)
--- a/
git-instaweb.sh
+++ b/
git-instaweb.sh
@@
-331,8
+331,15
@@
gitweb_css () {
EOFGITWEB
}
+gitweb_js () {
+ cat > "$1" <<\EOFGITWEB
+@@GITWEB_JS@@
+EOFGITWEB
+}
+
gitweb_cgi "$GIT_DIR/gitweb/gitweb.cgi"
gitweb_css "$GIT_DIR/gitweb/gitweb.css"
+gitweb_js "$GIT_DIR/gitweb/gitweb.js"
case "$httpd" in
*lighttpd*)