git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] gitweb: Describe (possible) gitweb.js minification in gitweb/README

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 2, 2009, 21:14 UTC
Message-ID
<1259788476-9697-1-git-send-email-jnareb@gmail.com>
In-Reply-To
<7vaay2tkfh.fsf@alter.siamese.dyndns.org>
On Tue, 1 Dec 2009, Junio C Hamano wrote:
Show 6 quoted lines
> * jn/gitweb-blame (2009-11-24) 8 commits.
>   (merged to 'next' on 2009-11-25 at 0a5b649)
>  + gitweb.js: fix padLeftStr() and its usage
>  + gitweb.js: Harden setting blamed commit info in incremental blame
>  + gitweb.js: fix null object exception in initials calculation
>  + gitweb: Minify gitweb.js if JSMIN is defined

This commit is somehow missing description of JSMIn in gitweb/README from the original patch. Here is its completion.

Show 8 quoted lines
>  + gitweb: Create links leading to 'blame_incremental' using JavaScript
>   (merged to 'next' on 2009-10-11 at 73c4a83)
>  + gitweb: Colorize 'blame_incremental' view during processing
>  + gitweb: Incremental blame (using JavaScript)
>  + gitweb: Add optional "time to generate page" info in footer
> 
> With two more changes to disable this by default to make it
> suitable as "new feature with known breakages" for 1.6.6
-- >8 --
Subject: [PATCH] gitweb: Describe (possible) gitweb.js minification in gitweb/README
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
---
 gitweb/README |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gitweb/README b/gitweb/README
index b69b0e5..e34ee79 100644
--- a/gitweb/README
+++ b/gitweb/README
@@ -95,7 +95,8 @@ You can specify the following configuration variables when building GIT:
  * GITWEB_JS
    Points to the localtion where you put gitweb.js on your web server
    (or to be more generic URI of JavaScript code used by gitweb).
-   Relative to base URI of gitweb.  [Default: gitweb.js]
+   Relative to base URI of gitweb.  [Default: gitweb.js (or gitweb.min.js
+   if JSMIN build variable is defined / JavaScript minifier is used)]
  * GITWEB_CONFIG
    This Perl file will be loaded using 'do' and can be used to override any
    of the options above as well as some other options -- see the "Runtime
-- 
1.6.5.3
Previous: Daniel Barkalow
Message 3 of 3 in “What's cooking in git.git (Dec 2009, #01; Tue, 01)”
  1. Junio C HamanoDec 1, 2009
  2. Daniel BarkalowDec 2, 2009
  3. gitweb: Describe (possible) gitweb.js minification in gitweb/READMEJakub Narebski, Dec 2, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.