login
Header Space

 
 

Re: Using GIT to store /etc (Or: How to make GIT store all file permission bits)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Shawn O. Pearce <spearce@...>
Cc: <git@...>
Date: Wednesday, January 10, 2007 - 2:34 pm

On Tue, 9 Jan 2007, Shawn O. Pearce wrote:


I was looking at checkout, not checkin so I'm not understanding how the index is 
involved here.


we don't have a checkout trigger? I thought that what Linus had suggested for 
permissions was to have a script triggered on checkin that stored the 
permissions of the files, and a script triggered on checkout that set the 
permissions from the stored file.

if there isn't a checkout trigger how would the permissions ever get set?

in my particular case I'd like to have the checkin run a script that produces a 
'generic' version of each file, and the checkout run a script that converts the 
generic version into the host specific version. I already have a script that 
does this work (and (ab)uses ssh to propogate the generic version to other hosts 
and create the host specific versions there), but I was interested in useing git 
to add better version control to the generic versions of the files (I currently 
use RCS on each box to version control the host specific versions)

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:
Re: Using git as a general backup mechanism, Junio C Hamano, (Tue Dec 12, 7:43 pm)
Re: Using git as a general backup mechanism, Steven Grimm, (Thu Dec 14, 7:33 pm)
Re: Using git as a general backup mechanism, Junio C Hamano, (Thu Dec 14, 8:33 pm)
Re: Using git as a general backup mechanism (was Re: Using G..., Johannes Schindelin, (Tue Dec 12, 6:57 pm)
Re: Using git as a general backup mechanism (was Re: Using G..., Johannes Schindelin, (Tue Dec 12, 8:01 pm)
Re: Using GIT to store /etc (Or: How to make GIT store all f..., David Lang, (Wed Jan 10, 2:34 pm)
speck-geostationary