Code

git-p4: support exclude paths
authorTommy Thorn <tommy-git@thorn.ws>
Sun, 3 Feb 2008 18:38:51 +0000 (10:38 -0800)
committerSimon Hausmann <simon@lst.de>
Wed, 27 Feb 2008 14:17:05 +0000 (15:17 +0100)
commit354081d5a0392a015731a637f026dc885a4ddb0f
tree45fc3cdc64588238fefb8da03415a5b68dad6ccb
parent2db511fdbdbe1c8aab80f4bc13f0df037bce8a33
git-p4: support exclude paths

Teach git-p4 about the -/ option which adds depot paths to the exclude
list, used when cloning. The option is chosen such that the natural
Perforce syntax works, eg:

  git p4 clone //branch/path/... -//branch/path/{large,old}/...

Trailing ... on exclude paths are optional.

This is a generalization of a change by Dmitry Kakurin (thanks).

Signed-off-by: Tommy Thorn <tommy-git@thorn.ws>
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4