Re: .gittattributes handling has deficiencies

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: david
Date: Sunday, October 21, 2007 - 2:19 am

On Sun, 21 Oct 2007, Steffen Prohaska wrote:


this is the same problem that we would have with the extended file 
attributes, in the discussion for those it was suggested that I refrence 
the file from the index rather then from the file system to avoid needing 
to do two passes.


if you know that you will get the new .gitattributes if it changes, setup 
a post-checkout hook to checkout everything if it has changed. it's far 
from ideal, but it should be a good, safe, first approximation.

you shouldn't need to check all files of all attributes, only on any that 
match the lines that get changed. the hook for this is exactly the type of 
thing that I was talking about in the metastore thread.


the problem with this is that each attribute ends up needing it's own 
flag, which severely limits extending things (see the discussions on file 
permissions for examples). it's also much harder to manipulate them then 
in a file.

David Lang

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
.gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 1:48 am)
Re: .gittattributes handling has deficiencies, david, (Sun Oct 21, 2:19 am)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 3:27 am)
Re: .gittattributes handling has deficiencies, david, (Sun Oct 21, 10:09 am)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 10:25 am)
Re: .gittattributes handling has deficiencies, david, (Sun Oct 21, 10:57 am)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 1:21 pm)
Re: .gittattributes handling has deficiencies, david, (Sun Oct 21, 4:49 pm)
Re: .gittattributes handling has deficiencies, david, (Sun Oct 21, 5:05 pm)
Re: .gittattributes handling has deficiencies, Shawn O. Pearce, (Sun Oct 21, 10:01 pm)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 10:38 pm)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Sun Oct 21, 10:45 pm)
Re: .gittattributes handling has deficiencies, Johannes Schindelin, (Mon Oct 22, 3:29 am)
Re: .gittattributes handling has deficiencies, Steffen Prohaska, (Mon Oct 22, 6:04 am)