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

Re: is git-p4 compatible with p4/linux?

From
ATAlexander Tomlinson <alex@aivor.com>
Date
Apr 17, 2013, 04:37 UTC
Message-ID
<278B6790-7EDC-4E7F-A944-B00A6AEE86F2@aivor.com>
In-Reply-To
<7BF81DF9-941D-400B-8304-6DA5F5C82D4F@aivor.com>

Sorry about the =3D escapes. My first attempt to submit bounced b/c it was html and I missed cleaning some escapes. The snippet should be:

    if type_base == "symlink":
        git_mode = "120000"
        # p4 print on a symlink contains "target\n"; remove the newline
        data = ''.join(contents)
        contents = [data[:-1]]
--Alex
Previous: Alexander TomlinsonNext: Pete Wyckoff
Message 2 of 8 in “is git-p4 compatible with p4/linux?”
  1. Alexander TomlinsonApr 17, 2013
  2. Alexander TomlinsonApr 17, 2013
  3. Pete WyckoffApr 19, 2013
  4. Alexander TomlinsonApr 19, 2013
  5. Pete WyckoffApr 19, 2013
  6. Alex TomlinsonApr 19, 2013
  7. David AguilarApr 20, 2013
  8. Pete WyckoffApr 20, 2013

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.