Idle git question: how come so many "objects"? - Mailing list pgsql-hackers

From Tom Lane
Subject Idle git question: how come so many "objects"?
Date
Msg-id 8229.1291183406@sss.pgh.pa.us
Whole thread Raw
Responses Re: Idle git question: how come so many "objects"?  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Idle git question: how come so many "objects"?  (Florian Weimer <fweimer@bfk.de>)
List pgsql-hackers
So I just made a commit that touched four files in all six active
branches, and I see:

$ 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@gitmaster.postgresql.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
 

Now I realize that in addition to the four files there's a "tree" object
and a "commit" object, but that still only adds up to 36 objects that
should be created in this transaction.  How does it get to 172?  And
then where do the 89 and 80 numbers come from?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Shigeru HANADA
Date:
Subject: Re: SQL/MED - core functionality
Next
From: Radosław Smogura
Date:
Subject: Improved JDBC driver part 2