Re: Idle git question: how come so many "objects"?

From: Florian Weimer <fweimer(at)bfk(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Idle git question: how come so many "objects"?
Date: 2010-12-03 17:36:45
Message-ID: 8262varc5u.fsf@mid.bfk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Tom Lane:

> $ git push
> Counting objects: 172, done.
> Compressing objects: 100% (89/89), done.
> Writing objects: 100% (89/89), 17.07 KiB, done.
> Total 89 (delta 80), reused 0 (delta 0)
> To ssh://git(at)gitmaster(dot)postgresql(dot)org/postgresql.git
> 35a3def..8a6eb2e REL8_1_STABLE -> REL8_1_STABLE
> cfb6ac6..b0e2092 REL8_2_STABLE -> REL8_2_STABLE
> 301a822..0d45e8c REL8_3_STABLE -> REL8_3_STABLE
> 61f8618..6bd3753 REL8_4_STABLE -> REL8_4_STABLE
> 09425f8..0a85bb2 REL9_0_STABLE -> REL9_0_STABLE
> c0b5fac..225f0aa master -> master

> How does it get to 172?

These are the number of objects "git push" (actually, git-send-pack, I
think) needs to look at more closely, AFAIUI. It's a pretty arbitrary
number. You see it sometimes during pull, too.

> And then where do the 89 and 80 numbers come from?

89 is the number of objects which need to be transmitted. Of those,
80 were compressed by diffing them to some other object (which might,
in turn, be a diff).

--
Florian Weimer <fweimer(at)bfk(dot)de>
BFK edv-consulting GmbH http://www.bfk.de/
Kriegsstraße 100 tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2010-12-03 17:37:11 Re: WIP patch for parallel pg_dump
Previous Message Alvaro Herrera 2010-12-03 17:17:11 Re: WIP patch for parallel pg_dump