{"thread":{"id":"51374","subject":"[PATCH] Branch detection final listing simplified","startedAt":"2019-06-24T21:03:03Z","lastAt":"2019-06-24T21:03:03Z","messageCount":1,"participants":["Andrew Yefanov"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"377932","messageId":"20190624210247.24001-1-1134togo@gmail.com","threadId":"51374","inReplyTo":null,"subject":"[PATCH] Branch detection final listing simplified","fromName":"Andrew Yefanov","fromEmail":"1134togo@gmail.com","sentAt":"2019-06-24T21:02:47Z","receivedAt":"2019-06-24T21:03:03Z","isPatch":true,"sender":{"key":"1134togo@gmail.com","avatar":"https://gravatar.com/avatar/659a8d32a27740dbaf9bd80a9d4d89e494c3fc41fd746d6fa653c81b5df91eaa?d=mp&s=160"},"body":"Look at the listing:\n----\ngit init depot\ncd depot\ngit config git-p4.branchList main:branch1\ngit p4 clone --detect-branches //depot@all .\n----\ngit p4 clone is used with the last dot. It is easy to miss the dot, so I offer to use git p4 sync instead. It has the same syntax, except does not need to point the directory, because works in the current one. The result would be like:\n----\ngit init depot\ncd depot\ngit config git-p4.branchList main:branch1\ngit p4 sync --detect-branches //depot@all\n----\n\nSigned-off-by: Andrew Yefanov <1134togo@gmail.com>\n---\n Documentation/git-p4.txt | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/Documentation/git-p4.txt b/Documentation/git-p4.txt\nindex 7436c64a9..0044766bf 100644\n--- a/Documentation/git-p4.txt\n+++ b/Documentation/git-p4.txt\n@@ -434,7 +434,7 @@ occur with:\n git init depot\n cd depot\n git config git-p4.branchList main:branch1\n-git p4 clone --detect-branches //depot@all .\n+git p4 sync --detect-branches //depot@all\n ----\n \n \n-- \n2.20.1 (Apple Git-117)\n\n"}]}