Re: Storing notes refs outside of refs/

5 messages, 4 authors, 2016-06-15 · open the first message on its own page

Re: Storing notes refs outside of refs/

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:23

Joshua Jensen [off-list ref] writes:
I tried manually moving .git/refs/notes/p4notes to .git/p4/p4notes.
Bad idea.  Your notes no longer are protected from fsck and prune.

Don't do it.

Re: Storing notes refs outside of refs/

From: Joshua Jensen <hidden>
Date: 2016-06-15 22:49:23

  ----- Original Message -----
From: Junio C Hamano
Date: 8/26/2010 11:05 AM
Joshua Jensen[off-list ref]  writes:
quoted
I tried manually moving .git/refs/notes/p4notes to .git/p4/p4notes.
Bad idea.  Your notes no longer are protected from fsck and prune.

Don't do it.
And had I thought for longer than 1 minute about it, I would have 
realized that.

Okay then...

gitk --all --not --glob=refs/notes/*

does not work.  Is there a way to make it work?  I think, from another 
conversation asking a different (but related) question, the answer is no.

Josh

Re: Storing notes refs outside of refs/

From: Tomas Carnecky <hidden>
Date: 2016-06-15 22:49:23

On 8/26/10 7:05 PM, Junio C Hamano wrote:
Joshua Jensen [off-list ref] writes:
quoted
I tried manually moving .git/refs/notes/p4notes to .git/p4/p4notes.
Bad idea.  Your notes no longer are protected from fsck and prune.
Hm, so storing no longer needed branches outside of the refs/heads
namespace (so that they don't show up in git branch) is a bad idea? This
suggestion was made in #git today or yesterday and I'd like to know if I
should advise people against doing that.

tom

Re: Storing notes refs outside of refs/

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:49:23

Heya,

On Thu, Aug 26, 2010 at 13:47, Tomas Carnecky [off-list ref] wrote:
Hm, so storing no longer needed branches outside of the refs/heads
namespace (so that they don't show up in git branch) is a bad idea?
You can store them outside refs/heads just fine, as long as they're
somewhere under refs. For example, refs/attic/ would be perfectly
safe.

-- 
Cheers,

Sverre Rabbelier

Re: Storing notes refs outside of refs/

From: Tomas Carnecky <hidden>
Date: 2016-06-15 22:49:23

On 8/26/10 8:51 PM, Sverre Rabbelier wrote:
Heya,

On Thu, Aug 26, 2010 at 13:47, Tomas Carnecky [off-list ref] wrote:
quoted
Hm, so storing no longer needed branches outside of the refs/heads
namespace (so that they don't show up in git branch) is a bad idea?
You can store them outside refs/heads just fine, as long as they're
somewhere under refs. For example, refs/attic/ would be perfectly
safe.
Ah, I missed that Joshua wants to put them outside of .git/refs
(.git/p4). Slight but important difference :)

tom
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help