git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: Porcelain specific metadata under .git?
Date: Wed, 14 Jun 2006 13:32:25 +0200	[thread overview]
Message-ID: <e6os3v$r5g$1@sea.gmane.org> (raw)
In-Reply-To: 448FEED7.30701@op5.se

Andreas Ericsson wrote:

> Shawn Pearce wrote:
>> 
>> I already assume/know that refs/heads and refs/tags are completely
>> off-limits as they are for user refs only.
>> 
>> I also think the core GIT tools already assume that anything
>> directly under .git which is strictly a file and which is named
>> entirely with uppercase letters (aside from "HEAD") is strictly a
>> temporary/short-lived state type item (e.g. COMMIT_MSG) used by a
>> Porcelain.
>> 
>> But is saying ".git/refs/eclipse-workspaces" is probably able to
>> be used for this purpose safe?  :-)
>> 
> 
> .git/eclipse/whatever-you-like
> 
> would probably be better. Heads can be stored directly under .git/refs 
> too. Most likely, nothing will ever be stored under ./git/eclipse by 
> either core git or the current (other) porcelains though.

I think if it is a ref, which one wants to be visible to git-fsck (and
git-prune), it should be under .git/refs.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

  reply	other threads:[~2006-06-14 11:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14  6:22 Porcelain specific metadata under .git? Shawn Pearce
2006-06-14 11:11 ` Andreas Ericsson
2006-06-14 11:32   ` Jakub Narebski [this message]
2006-06-14 13:07     ` Andreas Ericsson
2006-06-14 13:30       ` Junio C Hamano
2006-06-17  0:43       ` Shawn Pearce

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='e6os3v$r5g$1@sea.gmane.org' \
    --to=jnareb@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).