Thread (1 message) 1 message, 1 author, 2016-06-15

Template files location

From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:03

Dear diary, on Fri, Aug 05, 2005 at 06:37:11AM CEST, I got a letter
where Junio C Hamano [off-list ref] told me that...
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help