* Any idea why the git repo is so huge
@ 2010-02-02 9:01 Leo
2010-02-02 11:09 ` Eric S Fraga
2010-02-02 12:29 ` Ian Barton
0 siblings, 2 replies; 6+ messages in thread
From: Leo @ 2010-02-02 9:01 UTC (permalink / raw)
To: emacs-orgmode
Hello,
The git repo I just checked out a minute ago is 54M, 20 times bigger
than the org lisp files. Any idea why it is so large? Thanks.
Leo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Any idea why the git repo is so huge
2010-02-02 9:01 Any idea why the git repo is so huge Leo
@ 2010-02-02 11:09 ` Eric S Fraga
2010-02-02 12:29 ` Ian Barton
1 sibling, 0 replies; 6+ messages in thread
From: Eric S Fraga @ 2010-02-02 11:09 UTC (permalink / raw)
To: Leo; +Cc: emacs-orgmode
At Tue, 02 Feb 2010 09:01:57 +0000,
Leo wrote:
>
> Hello,
>
> The git repo I just checked out a minute ago is 54M, 20 times bigger
> than the org lisp files. Any idea why it is so large? Thanks.
ummm because there is a great deal of active development? Each change
requires an entry in the repository with the changes that entry was
responsible for.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Any idea why the git repo is so huge
2010-02-02 9:01 Any idea why the git repo is so huge Leo
2010-02-02 11:09 ` Eric S Fraga
@ 2010-02-02 12:29 ` Ian Barton
2010-02-02 16:12 ` Leo
1 sibling, 1 reply; 6+ messages in thread
From: Ian Barton @ 2010-02-02 12:29 UTC (permalink / raw)
To: Leo; +Cc: emacs-orgmode
>
> The git repo I just checked out a minute ago is 54M, 20 times bigger
> than the org lisp files. Any idea why it is so large? Thanks.
>
> Leo
>
Don't forget it has a complete history of all org development since the
initial import of the source.
You may be able to reduce the size of your local repo by running:
git gc
See http://kernel.org/pub/software/scm/git-core/docs/v1.6.0.6/git-gc.html
Ian.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Any idea why the git repo is so huge
2010-02-02 12:29 ` Ian Barton
@ 2010-02-02 16:12 ` Leo
2010-02-02 17:57 ` Richard Riley
0 siblings, 1 reply; 6+ messages in thread
From: Leo @ 2010-02-02 16:12 UTC (permalink / raw)
To: emacs-orgmode
On 2010-02-02 12:29 +0000, Ian Barton wrote:
>>
>> The git repo I just checked out a minute ago is 54M, 20 times bigger
>> than the org lisp files. Any idea why it is so large? Thanks.
>>
>> Leo
>>
> Don't forget it has a complete history of all org development since
> the initial import of the source.
>
> You may be able to reduce the size of your local repo by running:
>
> git gc
>
> See http://kernel.org/pub/software/scm/git-core/docs/v1.6.0.6/git-gc.html
>
> Ian.
Of course. But git is supposed to be very efficient in storing history
and other things. I remembered when it first appeared when Linus was
still maintaining it, it could have the Linux kernel's source tree with
complete history and other things within 1.5 times the size of the net
source.
Git gc won't help because 54M is the size of the first checkout.
Leo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Any idea why the git repo is so huge
2010-02-02 16:12 ` Leo
@ 2010-02-02 17:57 ` Richard Riley
2010-02-03 15:52 ` Christopher Allan Webber
0 siblings, 1 reply; 6+ messages in thread
From: Richard Riley @ 2010-02-02 17:57 UTC (permalink / raw)
To: emacs-orgmode
Leo <sdl.web@gmail.com> writes:
> On 2010-02-02 12:29 +0000, Ian Barton wrote:
>>>
>>> The git repo I just checked out a minute ago is 54M, 20 times bigger
>>> than the org lisp files. Any idea why it is so large? Thanks.
>>>
>>> Leo
>>>
>> Don't forget it has a complete history of all org development since
>> the initial import of the source.
>>
>> You may be able to reduce the size of your local repo by running:
>>
>> git gc
>>
>> See http://kernel.org/pub/software/scm/git-core/docs/v1.6.0.6/git-gc.html
>>
>> Ian.
>
> Of course. But git is supposed to be very efficient in storing history
> and other things. I remembered when it first appeared when Linus was
> still maintaining it, it could have the Linux kernel's source tree with
> complete history and other things within 1.5 times the size of the net
> source.
>
> Git gc won't help because 54M is the size of the first checkout.
>
I was under the impression that the one thing that git does not
advertise is space efficiency - it stores total file blobs for each and
every change. So I think its efficiency is in terms of speed, not in
terms of disk usage. And to be honest, if you worry about 54M in a
development scenario then I'd be surprised when you consider how cheap
disk is these days.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: Any idea why the git repo is so huge
2010-02-02 17:57 ` Richard Riley
@ 2010-02-03 15:52 ` Christopher Allan Webber
0 siblings, 0 replies; 6+ messages in thread
From: Christopher Allan Webber @ 2010-02-03 15:52 UTC (permalink / raw)
To: Richard Riley; +Cc: emacs-orgmode
Richard Riley <rileyrgdev@gmail.com> writes:
> I was under the impression that the one thing that git does not
> advertise is space efficiency - it stores total file blobs for each and
> every change. So I think its efficiency is in terms of speed, not in
> terms of disk usage. And to be honest, if you worry about 54M in a
> development scenario then I'd be surprised when you consider how cheap
> disk is these days.
Git does store those as individual files initially, but once you run git
gc it'll compress them and store only the deltas in the pakfiles.
After I run git gc my orgmode .git/ directory is compressed to 44MB.
Not a huge difference, but a difference nonetheless.
- cwebb
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-02-03 15:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02 9:01 Any idea why the git repo is so huge Leo
2010-02-02 11:09 ` Eric S Fraga
2010-02-02 12:29 ` Ian Barton
2010-02-02 16:12 ` Leo
2010-02-02 17:57 ` Richard Riley
2010-02-03 15:52 ` Christopher Allan Webber
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).