Re: tracking perms/ownership [was: empty directories]
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 24, 2007, 09:38 UTC
- Message-ID
- <Pine.LNX.4.64.0708241136301.16728@wbgn129.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <1187905879.5986.199.camel@beauty>
Hi,
On Thu, 23 Aug 2007, Josh England wrote:
Show 9 quoted lines
> On Wed, 2007-08-22 at 16:25 -0700, Linus Torvalds wrote: > > But if .gitattributes would work, you probably could introduce both full > > permissions and ownership rules there. We read git attributes for *other* > > reasons when checking files out _anyway_, ie we need the CRLF attribute > > stuff, so adding ownership attributes would not be at all odd. > > So here's the initial thought. Create two new gitattributes, 'perms' > and 'ownership', which will track perms/ownership for files matching the > given pattern.
I wonder why you do not just use the "smudge" and "clean" attributes, and store the ownership _and_ the permissions in .gitacls.
Yes, _maybe_ it is something other people might want, too, but let's start quick & easy, no?
Ciao, Dscho