Re: Limiting disk usage

2013-10-30 Thread Fredrik Gustafsson
On Wed, Oct 30, 2013 at 04:39:02PM +0100, Jakub Narębski wrote: > From time to time you can find there ideas about adding "floating" > mode to git-submodule, but as far as I know up till now without > effect... How about git submodule update --remote ? -- Med vänliga hälsningar Fredrik Gustafsso

Re: Limiting disk usage

2013-10-30 Thread Jakub Narębski
On 2013-10-30 08:44, Piotr Krukowiecki wrote: On Tue, Oct 29, 2013 at 3:45 PM, Jakub Narębski wrote: On 2013-10-29 14:50, Piotr Krukowiecki wrote: If they are independent projects, they should get independent repositories; you can stitch them back together using git-submodule (or git-subtree

Re: Limiting disk usage

2013-10-30 Thread Piotr Krukowiecki
On Tue, Oct 29, 2013 at 3:45 PM, Jakub Narębski wrote: > On 2013-10-29 14:50, Piotr Krukowiecki wrote: >> > Lot of code isn't problem, see Linux kernel or GCC, or LibreOffice.org OK, it depends on how much code is too much for you. I'm not talking about performance of git, just disk usage. In my

Re: Limiting disk usage

2013-10-29 Thread Jakub Narębski
On 2013-10-29 14:50, Piotr Krukowiecki wrote: Yes, I put a lot of code into the repository. I know it is wrong from git POV ;) That's why I wrote about splitting repository into multiple smaller repositories, but AFAIK git is not very good at managing that too... Lot of code isn't problem, see

Re: Limiting disk usage

2013-10-29 Thread Piotr Krukowiecki
[resending as sent previous version as HTML, sorry about that] On Tue, Oct 29, 2013 at 9:21 AM, Matthieu Moy wrote: > > Piotr Krukowiecki writes: > > > Hi, > > > > What can be done to limit amount of space occupied on clone and > > checkout? I know about shallow clone and sparse checkout, anythi

Re: Limiting disk usage

2013-10-29 Thread Matthieu Moy
Piotr Krukowiecki writes: > Hi, > > What can be done to limit amount of space occupied on clone and > checkout? I know about shallow clone and sparse checkout, anything > else? Sorry if I'm stating the obvious, but "git gc" is a good start. If you did something wrong with your repo before, mayb

Limiting disk usage

2013-10-28 Thread Piotr Krukowiecki
Hi, What can be done to limit amount of space occupied on clone and checkout? I know about shallow clone and sparse checkout, anything else? Preferably I would split repository into multiple repositories but I worry that working with multiple directories would be much more troublesome. But ma