Skip to content

git-p4 fixes and enhancements

Pete Wyckoff git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 7 repliesIn review
  2. v18 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8git-p4: test scriptt/t9800-git-p4.sh+55 -00 replies
2/8git-p4: fix key error for p4 problemcontrib/fast-import/git-p4 t/t9800-git-p4.sh+17 -10 replies
3/8git-p4: add missing newline in initial import messagecontrib/fast-import/git-p4+1 -10 replies
4/8git-p4: accommodate new move/delete type in p4contrib/fast-import/git-p4+7 -51 reply
5/8git-p4: reinterpret confusing p4 messagecontrib/fast-import/git-p4+4 -01 reply
6/8git-p4: better message for "git-p4 sync" when not clonedcontrib/fast-import/git-p4+2 -00 replies
7/8git-p4: decode p4 wildcard characterscontrib/fast-import/git-p4 t/t9800-git-p4.sh+40 -05 replies
8/8git-p4: support clone --barecontrib/fast-import/git-p4 t/t9800-git-p4.sh+23 -40 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchTor Arvid Lund
1/8
2/8
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] git-p4 fixes and enhancements

This is the second submission of git-p4 fixes and enhancements. The first of these 8 patches adds a test script. The rest fix problems with git-p4 and add small featurest-p4: test script

git-p4: fix key error for p4 problem
git-p4: add missing newline in initial import message
git-p4: accommodate new move/delete type in p4
git-p4: reinterpret confusing p4 message
git-p4: better message for "git-p4 sync" when not cloned
git-p4: decode p4 wildcard characters
git-p4: support clone --bare

 contrib/fast-import/git-p4 |   60 ++++++++++++++++++++++-----
 t/t9800-git-p4.sh          |  100 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 149 insertions(+), 11 deletions(-)

Changes from v1.

Includes acks from Tor Arvid for 3, 4, 6, 8. Includes review changes from Junio on 1, and from Tor Arvid on 7.

1/8: test script

Review comments from Junio.

1. Beautify icky p4 and p4d existence check.

2. Remove p4d initialization sleep. It binds and listens to the port nicely before daemonizing.

7/8: decode p4 wildcard characters

Tor Arvid points out that windows cannot have * in filenames. This is not something I can test, but at least avoid the situation on that platform.