performance issue: git clone compression
- From
- Tim Webster <tdwebste@gmail.com>
- Date
- Nov 8, 2009, 01:09 UTC
- Message-ID
- <72877ab10911071709s200696d4mf12dc797da20be18@mail.gmail.com>
- In-Reply-To
- <72877ab10911071657p568b3b98v6fd90e84e098c107@mail.gmail.com>
git clone gitosis@gitserver:code.git
After remote counting objects, remote compressing objects transfer begins... This compression operation results in excess of swapage on the remote server.
--------------------
I need to avoiding the clone compression step for servers with limited memory. I am doing the following to avoid this object compression. Is there a better way? -------------------
scp -r gitserver:/srv/gitosis/repositories/code.git . git clone /tmp/junk/code.git --no-hardlinks code # IS there a better way of converting the bare git repository to working git repository?
edit .git/config url = gitosis@gitserver:code.git