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

git-p4 + watchman - watching the p4 repo?

From
Luke Diamand <luke@diamand.org>
Date
Jan 8, 2018, 17:15 UTC
Message-ID
<CAE5ih79t8N969E-8qm9JMNZZo6qvRqw6GA=b6UTHskB-ozt7Fg@mail.gmail.com>
Hi!

I could be wrong about this, but I when I tried mixing watchman with git-p4, I found that on "git p4 submit" it ended up watching the p4 repo, which seems a bit pointless (and was also very slow).

$ [create git-p4 clone of some p4 repo] $ : >bar $ git add bar && git commit -m 'adding bar' $ git p4 submit --origin HEAD^ --shelve Perforce checkout for depot path //depot/ located at /tmp/p4/cli/ Synchronizing p4 checkout... ... - file(s) up-to-date. Applying 4ce4057 change //depot/bar#1 - opened for edit Adding '/tmp/p4/cli' to watchman's watch list.

Is there any way to stop it doing this?

Thanks! Luke

Next: Ben Peart
Message 1 of 2 in “git-p4 + watchman - watching the p4 repo?”
  1. Luke DiamandJan 8, 2018
  2. Ben PeartJan 8, 2018

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.