From: David Brown Date: Wed, 19 Sep 2007 00:27:22 GMT Subject: Re: State of Perforce importing. Message-ID: <20070919002722.GB22187@old.davidb.org> In-Reply-To: <46F06C0C.8090201@vilain.net> On Wed, Sep 19, 2007 at 12:23:40PM +1200, Sam Vilain wrote: >David Brown wrote: >> >> An additional problem: >> >> - git-p4 doesn't preserve the execute permission bit from Perforce. > >FWIW I found that bit on bit 9 of the 'file type' flag in the db, which >is the third column in the "db.rev" table. It's used to come up with >the silly names like "text" vs "xtext" (difference? well, one's >executable of course). It does come back in the 'kind' field when it asks the client for the file type. I'll look into using that information to set the execute bit in the mode it sends off. Dave