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

Template files location

From
Petr Baudis <pasky@ucw.cz>
Date
Aug 5, 2005, 09:43 UTC
Message-ID
<20050805094324.GF29216@pasky.ji.cz>
In-Reply-To
<7vd5otov7s.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Fri, Aug 05, 2005 at 06:37:11AM CEST, I got a letter where Junio C Hamano <junkio@cox.net> told me that...

Show 14 quoted lines
> We install files in $(HOME)/etc/git-core/templates/ directory.
> 
> In the standard binary distribution scheme, it should probably
> go to either /usr/share or /etc; the former if the distribution
> prefers static boilerplate files in /usr/share, latter if we
> consider them site-specific conffiles.  I just discussed this
> privately with a Debian person on the list today, and we are in
> favor of installing it under /usr/share/git-core/templates,
> because we do not expect the contents of the standard templates
> directory will not be a per-site customization [*1*].
> 
> In any case, this means that the make drivers like spec.in and
> debian/rules would need to override some make variables when
> they invoke the main Makefile.
Any reason why that's not the default destination then?
Or you can try /etc/git-core/ and fall back to /usr/share/git-core :-)
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox
Next: Junio C Hamano
Message 1 of 5 in “Template files location”
  1. Petr BaudisAug 5, 2005
  2. Junio C HamanoAug 5, 2005
  3. A Large Angry SCMAug 5, 2005
  4. Matthias UrlichsAug 10, 2005
  5. Petr BaudisAug 9, 2005

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.