Git development
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: git@vger.kernel.org
Subject: GIT_OBJECT_DIRECTORY
Date: Tue, 18 Apr 2006 15:38:47 +0200	[thread overview]
Message-ID: <20060418133847.GC4720@wohnheim.fh-wedel.de> (raw)

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

             reply	other threads:[~2006-04-18 13:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-18 13:38 Jörn Engel [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060418133847.GC4720@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox