Re: [REVISED PATCH 2/6] Introduce commit notes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 2007 July 19, Johannes Schindelin wrote:

> > In the case of the notes system, is there not a big hole available
> > because the layout is under tight control?
>
> No.  It is a tree object, referenced from a ref.  You can always check it
> out, modify it, and check it in.  If only by mistake.

I was arguing for the tree-index being special cased though (ideally with an 
invalid filename), such that it could never actually be checked out or 
checked in, but would be maintained automatically "git-side".  For backwards 
compatibility, it would be optional; and making it an invalid filename 

It was only a suggestion to answer Junio's request for a "hole" through which 
a tree-object index could be poked.

If we're only talking about the notes tree, then would it matter that it could 
be checked out and checked in?  If someone chose to do that then it would be 
their own fault when the index didn't work.  If I wanted I could 
edit .git/objects/ directly - I wouldn't expect poor git to work correctly 
afterwards though.



Andy


-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux