summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-03-06 11:04:43 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2018-03-06 11:04:43 +0000
commitce12b60e97a9a4518dd99b990e20e55ec8da22bc (patch)
tree927e3f59948f6b58e58bfea2a992cfec323c920d /doc
parent709dd125c3820fd1fb7e6547b30e086048984ddf (diff)
parentcc7b50265a1b5286b18c7627cefd28807d834ea7 (diff)
downloadgitlab-ce-ce12b60e97a9a4518dd99b990e20e55ec8da22bc.tar.gz
Merge branch 'patch-28' into 'master'
perforce.md: add note about repacking See merge request gitlab-org/gitlab-ce!17373
Diffstat (limited to 'doc')
-rw-r--r--doc/user/project/import/perforce.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/project/import/perforce.md b/doc/user/project/import/perforce.md
index aa7508e1e8e..a1ea716b606 100644
--- a/doc/user/project/import/perforce.md
+++ b/doc/user/project/import/perforce.md
@@ -48,3 +48,9 @@ Here's a few links to get you started:
- [git-p4 manual page](https://www.kernel.org/pub/software/scm/git/docs/git-p4.html)
- [git-p4 example usage](https://git.wiki.kernel.org/index.php/Git-p4_Usage)
- [Git book migration guide](https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git#_perforce_import)
+
+Note that `git p4` and `git filter-branch` are not very good at
+creating small and efficient Git pack files. So it might be a good
+idea to spend time and CPU to properly repack your repository before
+sending it for the first time to your GitLab server. See
+[this StackOverflow question](https://stackoverflow.com/questions/28720151/git-gc-aggressive-vs-git-repack/).