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, 17:12 UTC
Message-ID
<20070919171243.GA23902@old.davidb.org>
In-Reply-To
<200709190819.12188.simon@lst.de>
On Wed, Sep 19, 2007 at 08:19:11AM +0200, Simon Hausmann wrote:
Show 9 quoted lines
>> An additional problem:
>>
>>    - git-p4 doesn't preserve the execute permission bit from Perforce.
>
>Hmm, can you paste the output of
>
>	p4 fstat //path/in/depot/to/file/that/is/imported/incorrectly
>
>? I'm interested in the type of the file that p4 reports.
   headType kxtext

so the problem is that the git-p4 is only looking for an 'x' at the start. According to 'p4 help filetypes', we need to use execute for any of:

   cxtext, kxtext, uxbinary,  and the others that start with 'x'.

I think it would be sufficient to check the first or second character for an 'x'. I'll make a change and give it a try later today.

David
Previous: Simon HausmannNext: Reece Dunn
Message 16 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.