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

git-p4: commits are visible in history after 'git p4 clone', but not a single file present

From
IDIlya Dogolazky <ilya.dogolazky@nokia.com>
Date
Jun 11, 2012, 10:03 UTC
Message-ID
<4FD5C263.9010307@nokia.com>
Hi !

I hope this is the right mailing list for question regarding the usage of git-p4, sorry if I'm wrong.

Here is my problem: I'm issuing the command 'git p4 clone //kalma/xxx/yyy@all'. (the depot //kalma/xxx/yyy/ exists on my machine and is full of files). After this command the directory 'yyy' is created and the history of commits is visible there by 'git log -p'.

Every commit contains author name, a title (related to the project I'm working on, so obviously coming from perforce depot) and a single line looking like this:

[git-p4: depot-paths = "//kalma/xxx/yyy/": change = 17473]

Beside of that, the commit is empty: not a single line of code is changed/added. And the directory 'yyy' contains only the '.git' subdirectory, so not a single file of the project is visible.

Please help me to understand what could be going on there, and what could I have done wrong.

Thanks a lot!
-- Ilya Dogolazky
Next: Luke Diamand
Message 1 of 10 in “git-p4: commits are visible in history after 'git p4 clone', but not a single file present”
  1. Ilya DogolazkyJun 11, 2012
  2. Luke DiamandJun 11, 2012
  3. Ilya DogolazkyJun 11, 2012
  4. Luke DiamandJun 11, 2012
  5. Ilya DogolazkyJun 12, 2012
  6. Pete WyckoffJun 12, 2012
  7. Ilya DogolazkyJun 13, 2012
  8. Ilya DogolazkyJun 13, 2012
  9. Luke DiamandJun 13, 2012
  10. Ilya DogolazkyJun 14, 2012

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.