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

Re: [RFC] Gitweb: include minified version of js and css files in the repo

From
Jakub Narebski <jnareb@gmail.com>
Date
Mar 13, 2010, 08:26 UTC
Message-ID
<m3d3z8lj9x.fsf@localhost.localdomain>
In-Reply-To
<1B527F20-CF6C-451B-9C6E-1BE74992354D@gmail.com>
Mark Rada <markrada26@gmail.com> writes:
Show 10 quoted lines
> I was catching up on the changes to gitweb changes in the
> last little while and I noticed an option to pass gitweb.js
> through a minifier during the make execution, which I thought
> was pretty cool. 
> 
> However, I was wondering if there were any reasons why the
> minified version of the javascript code was not distributed
> in the git repository? It seems like you are leaving that
> effort to be duplicated a lot by people who compile git
> themselves.

The reason is that one should not include *generated* files in version control. We do not include ./configure script (from configure.ac), we do not include gitweb.min.js (from gitweb.js).

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Mark RadaNext: Miklos Vajna
Message 2 of 3 in “[RFC] Gitweb: include minified version of js and css files in the repo”
  1. Mark RadaMar 13, 2010
  2. Jakub NarebskiMar 13, 2010
  3. Miklos VajnaMar 14, 2010

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.