Git development
 help / color / mirror / Atom feed
* GIT_OBJECT_DIRECTORY
@ 2006-04-18 13:38 Jörn Engel
  2006-04-18 15:25 ` GIT_OBJECT_DIRECTORY Linus Torvalds
  0 siblings, 1 reply; 14+ messages in thread
From: Jörn Engel @ 2006-04-18 13:38 UTC (permalink / raw)
  To: git

Hi!

I recently noticed GIT_OBJECT_DIRECTORY in the git manpage and wanted
to play with it.  But it looks as if it doesn't work, the
documentation is wrong/insufficient or I can't properly read the
documentation.  So let me figure out, which one it is.

$ set | grep GIT_OBJECT_DIRECTORY
GIT_OBJECT_DIRECTORY=/home/joern/.git

$ ls -l /home/joern/.git
total 288
drwxrwxr-x  2 joern joern 4096 Apr 16 01:22 0f
[...]

$ git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git foo
[ stored >200M of data under foo/.git/objects ]


The above looks as if new objects are not stored under
/home/joern/.git, as specified by GIT_OBJECT_DIRECTORY.  The manpage
tells me:

       GIT_OBJECT_DIRECTORY
              If  the  object storage directory is specified via this environ-
              ment variable then the sha1 directories are created underneath -
              otherwise the default $GIT_DIR/objects directory is used.

And I would interpret this as "store all new objects under
/home/joern/.git".  So far, things don't seem to imply me being too
stupid.  What went wrong?

Jörn

-- 
Why do musicians compose symphonies and poets write poems?
They do it because life wouldn't have any meaning for them if they didn't.
That's why I draw cartoons.  It's my life.
-- Charles Shultz

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: GIT_OBJECT_DIRECTORY
@ 2006-04-18 14:10 linux
  2006-04-18 14:16 ` GIT_OBJECT_DIRECTORY Jörn Engel
  0 siblings, 1 reply; 14+ messages in thread
From: linux @ 2006-04-18 14:10 UTC (permalink / raw)
  To: joern; +Cc: git

Just to cover the obvious "is it plugged in?" questions, did you
also "export GIT_OBJECT_DIRECTORY"?  That is, what does
	env | grep GIT_OBJECT_DIRECTORY
produce?

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

end of thread, other threads:[~2006-04-19  5:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 13:38 GIT_OBJECT_DIRECTORY Jörn Engel
2006-04-18 15:25 ` GIT_OBJECT_DIRECTORY Linus Torvalds
2006-04-18 17:58   ` GIT_OBJECT_DIRECTORY Jörn Engel
2006-04-18 18:07     ` GIT_OBJECT_DIRECTORY Sam Ravnborg
2006-04-18 18:08     ` GIT_OBJECT_DIRECTORY Linus Torvalds
2006-04-18 18:26       ` GIT_OBJECT_DIRECTORY Jörn Engel
2006-04-18 18:47         ` GIT_OBJECT_DIRECTORY Linus Torvalds
2006-04-18 18:58           ` GIT_OBJECT_DIRECTORY Jörn Engel
2006-04-19  4:51         ` GIT_OBJECT_DIRECTORY H. Peter Anvin
2006-04-19  5:00           ` GIT_OBJECT_DIRECTORY Junio C Hamano
2006-04-18 18:20     ` GIT_OBJECT_DIRECTORY Junio C Hamano
2006-04-18 18:45       ` GIT_OBJECT_DIRECTORY Jörn Engel
  -- strict thread matches above, loose matches on Subject: below --
2006-04-18 14:10 GIT_OBJECT_DIRECTORY linux
2006-04-18 14:16 ` GIT_OBJECT_DIRECTORY Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox