diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2018-02-26 20:58:57 +0300 |
---|---|---|
committer | Christian Couder <chriscool@tuxfamily.org> | 2018-03-01 18:38:43 +0300 |
commit | cc7b50265a1b5286b18c7627cefd28807d834ea7 (patch) | |
tree | bd205c95aa5e246e37b639f3ab48eadb86d16470 /doc | |
parent | d412b90af0ff59c6c379fb83727cc23043c42cdc (diff) |
perforce.md: add note about repacking
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/import/perforce.md | 6 |
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/). |