summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Simon Hausmann <simon@lst.de>2007-03-21 08:27:33 +0100
committerLibravatar Simon Hausmann <simon@lst.de>2007-03-21 08:27:33 +0100
commitb4aa8d12b48af84242a4a484673bc41326566ac9 (patch)
tree13ffcb745c19971ee2079bfa246116116696f254
parentStart of the git-p4 documentation. (diff)
downloadtgif-b4aa8d12b48af84242a4a484673bc41326566ac9.tar.xz
Documentation enhancements.
Signed-off-by: Simon Hausmann <simon@lst.de>
-rw-r--r--contrib/fast-import/git-p4.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/fast-import/git-p4.txt b/contrib/fast-import/git-p4.txt
index b87efc6af9..4b4fcde72b 100644
--- a/contrib/fast-import/git-p4.txt
+++ b/contrib/fast-import/git-p4.txt
@@ -25,6 +25,8 @@ If you want to import the entire history of a given depot path just use
git-p4.py sync //path/in/depot@all
+To achieve optimal compression you may want to run 'git repack -a -d -f' after
+a big import. This may take a while.
Support for Perforce integrations is still work in progress. Don't bother
trying it unless you want to hack on it :)
@@ -42,6 +44,10 @@ in your git repository. git-p4 stores the depot path of the original import in
the .git/config file and remembers the last imported p4 revision as a git tag
called p4/<changenum> .
+It is recommended to run 'git repack -a -d -f' from time to time when using
+incremental imports to optimally combine the individual git packs that each
+incremental import creates through the use of git-fast-import.
+
Submitting
==========