diff options
author | Vitor Antunes <vitor.hda@gmail.com> | 2011-08-19 00:44:04 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-22 21:08:37 -0700 |
commit | 8ace74c00e87cbb16d7303761ff4f6b91505ee20 (patch) | |
tree | 8b40b4fa974f0a6632f0a2fc2bf90f65026a27d7 /contrib/fast-import/git-p4.txt | |
parent | 04d277b39e3e40f939fd7935c30beb48452015ec (diff) | |
download | git-8ace74c00e87cbb16d7303761ff4f6b91505ee20.tar.gz git-8ace74c00e87cbb16d7303761ff4f6b91505ee20.tar.xz |
git-p4: Allow filtering Perforce branches by user
All branches in the Perforce server are downloaded to allow branch detection. If
you have a centralized server on a remote location and there is a big number of
branches this operation can take some time.
This patch adds the configuration option git-p4.branchUser to allow filtering
the branch list by user. Although this limits the branch maintenance in Perforce
to be done by a single user, it might be an advantage when the number of
branches being used in a specific depot is very small when compared with the
branches available in the server.
Signed-off-by: Vitor Antunes <vitor.hda@gmail.com>
Acked-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/fast-import/git-p4.txt')
-rw-r--r-- | contrib/fast-import/git-p4.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/fast-import/git-p4.txt b/contrib/fast-import/git-p4.txt index 2ffbccc9b..97b66b929 100644 --- a/contrib/fast-import/git-p4.txt +++ b/contrib/fast-import/git-p4.txt @@ -257,6 +257,12 @@ Perforce server. Will enable --find-copies-harder git argument. git config [--global] git-p4.detectCopies true +git-p4.branchUser + +Only use branch specifications defined by the selected username. + + git config [--global] git-p4.branchUser username + Implementation Details... ========================= |