login
Header Space

 
 

Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?, .gitacls? etc.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Sam Vilain <sam@...>, Git Mailing List <git@...>
Date: Tuesday, September 4, 2007 - 4:49 pm

On Wed, Aug 29, 2007 at 00:07:55 +0100, Johannes Schindelin wrote:
=20
 not=20
h=20
=20
=20

Whether it's insane depends on whether you want to keep git purely for
source control -- in which case they are definitely insane -- or want to
allow git to grow to a tool useful for other cases, like tracking content of
/etc, whole filesystem images and similar stuff -- in which case most of
those setups are not insane at all.

Personally I would vote for a middle ground. To keep core git simple, but to
provide enough hooks to build the other tools on top of it. Enough hooks in
this case would mean (at least the way I can imagine as workable) hooks to
run when transfering files between worktree and index and place for the hoo=
ks
to store the extra tracked information. This place could be some of special
named file (.gitxattrs or anything) which would be updated in index by the
hook, special index entries somehow related to individual filenames and/or
headers prepended to the blobs and trees. Any of those methods can be used
for storing permissions, acl, extended attributes and other random stuff and
different ones could be used by different hooks at the same time.

Each of those methods has it's advantages and disadvantages. The special
files are easiest to store if the hook is not available or can't represent
the data in given worktree -- simply make the special files regular. The
entries attached to files (which are equivalent of extended attributes) wou=
ld
work with standard merge on them (because they are handled individually) and
the headers to files would probably require least changes to git (I believe
they are implementable for files with git as is using the hook provided for
keyword expansion (or is it not there?)).

--=20
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?, ..., Johannes Schindelin, (Sun Aug 26, 11:05 am)
Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?, ..., Johannes Schindelin, (Mon Aug 27, 7:30 am)
Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?, ..., Johannes Schindelin, (Tue Aug 28, 4:45 am)
Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?, ..., Johannes Schindelin, (Tue Aug 28, 7:07 pm)
Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?, ..., Jan Hudec, (Tue Sep 4, 4:49 pm)
Re: .gitignore, .gitattributes, .gitmodules, .gitprecious?,...., Johannes Schindelin, (Tue Aug 28, 4:49 am)
speck-geostationary