]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation enhancements.
authorSimon Hausmann <simon@lst.de>
Wed, 21 Mar 2007 07:27:33 +0000 (08:27 +0100)
committerSimon Hausmann <simon@lst.de>
Wed, 21 Mar 2007 07:27:33 +0000 (08:27 +0100)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4.txt

index b87efc6af9ebdaa7507fa2cab98cfb8dbffbc81f..4b4fcde72b9b9b3626c1a1907d7e243a401ed386 100644 (file)
@@ -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
 ==========