git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: State of Perforce importing.

From
David Brown <git@davidb.org>
Date
Sep 19, 2007, 00:27 UTC
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:
Show 10 quoted lines
>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
Previous: Sam VilainNext: Simon Hausmann
Message 14 of 19 in “State of Perforce importing.”
  1. David BrownSep 17, 2007
  2. Simon HausmannSep 18, 2007
  3. Sam VilainSep 18, 2007
  4. David BrownSep 18, 2007
  5. Reece DunnSep 18, 2007
  6. David BrownSep 18, 2007
  7. Sam VilainSep 19, 2007
  8. David BrownSep 19, 2007
  9. Sam VilainSep 19, 2007
  10. Reece DunnSep 19, 2007
  11. Dmitry KakurinSep 20, 2007
  12. David BrownSep 18, 2007
  13. Sam VilainSep 19, 2007
  14. David BrownSep 19, 2007
  15. Simon HausmannSep 19, 2007
  16. David BrownSep 19, 2007
  17. Reece DunnSep 19, 2007
  18. David BrownSep 19, 2007
  19. Reece DunnSep 19, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.