git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why /var/cache/git?
@ 2010-10-25 10:30 Bron Gondwana
  2010-10-25 15:24 ` J.H.
  0 siblings, 1 reply; 9+ messages in thread
From: Bron Gondwana @ 2010-10-25 10:30 UTC (permalink / raw)
  To: git; +Cc: pape

(resent - correct address for git list!)

(Gerrit: you're CC'd as the attribution in README.Debian
 which in the one place I can see /var/cache/git mentioned
 in the docs - without a justification for why it was
 chosen...)

I'm setting up shared repositories on a machine, and I notice
all the examples I can find on the web, and also the 
auto-created directory from the packages are /var/cache/git/

So I looked at the FHS, because that seemed odd to me:

http://www.pathname.com/fhs/pub/fhs-2.3.html#VARCACHEAPPLICATIONCACHEDATA

    /var/cache is intended for cached data from applications.
    Such data is locally generated as a result of time-consuming
    I/O or calculation. The application must be able to regenerate
    or restore the data. Unlike /var/spool, the cached files can
    be deleted without data loss.

I guess in theory, someone else has all those commits in their
local git repository somewhere.  Still, it feels to me that
/var/lib/git is the correct location.  Is there any reason why
/var/spool/git was chosen?

(I'm running Debian Lenny with the 1.7.1 backport packages, but
I see examples from Fedora with the same paths as well)

Bron.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-10-28 15:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 10:30 Why /var/cache/git? Bron Gondwana
2010-10-25 15:24 ` J.H.
2010-10-26  1:22   ` Bron Gondwana
2010-10-26 13:21     ` Drew Northup
2010-10-26 15:22       ` Gerrit Pape
2010-10-26 16:47         ` Jakub Narebski
2010-10-26 18:30         ` Junio C Hamano
2010-10-28 15:53           ` Gerrit Pape
2010-10-26 20:58         ` Bron Gondwana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).