<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin-count-objects.c, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-03-11T20:49:56Z</updated>
<entry>
<title>Merge branch 'jc/maint-1.6.0-keep-pack'</title>
<updated>2009-03-11T20:49:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-11T20:49:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aec813062b340e6bb181470cf57cc4b4406e1bb8'/>
<id>urn:sha1:aec813062b340e6bb181470cf57cc4b4406e1bb8</id>
<content type='text'>
* jc/maint-1.6.0-keep-pack:
  is_kept_pack(): final clean-up
  Simplify is_kept_pack()
  Consolidate ignore_packed logic more
  has_sha1_kept_pack(): take "struct rev_info"
  has_sha1_pack(): refactor "pretend these packs do not exist" interface
  git-repack: resist stray environment variable
</content>
</entry>
<entry>
<title>has_sha1_pack(): refactor "pretend these packs do not exist" interface</title>
<updated>2009-02-28T09:06:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-02-28T07:15:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cd673c1f17228d272c4b7f81fbb28bc31cf0cac6'/>
<id>urn:sha1:cd673c1f17228d272c4b7f81fbb28bc31cf0cac6</id>
<content type='text'>
Most of the callers of this function except only one pass NULL to its last
parameter, ignore_packed.

Introduce has_sha1_kept_pack() function that has the function signature
and the semantics of this function, and convert the sole caller that does
not pass NULL to call this new function.

All other callers and has_sha1_pack() lose the ignore_packed parameter.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>add is_dot_or_dotdot inline function</title>
<updated>2009-01-11T21:21:57Z</updated>
<author>
<name>Alexander Potashev</name>
<email>aspotashev@gmail.com</email>
</author>
<published>2009-01-10T12:07:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8ca12c0d62c0be4a4987c4a936467ea2a92e915a'/>
<id>urn:sha1:8ca12c0d62c0be4a4987c4a936467ea2a92e915a</id>
<content type='text'>
A new inline function is_dot_or_dotdot is used to check if the
directory name is either "." or "..". It returns a non-zero value if
the given string is "." or "..". It's applicable to a lot of Git
source code.

Signed-off-by: Alexander Potashev &lt;aspotashev@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Correct output of git-count-objects.</title>
<updated>2008-09-08T21:25:43Z</updated>
<author>
<name>Mikael Magnusson</name>
<email>mikachu@gmail.com</email>
</author>
<published>2008-09-08T17:56:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bfd083b734fe812b347ee71dca416d2bcfa87480'/>
<id>urn:sha1:bfd083b734fe812b347ee71dca416d2bcfa87480</id>
<content type='text'>
The non-verbose output was not changed in fdb2a2a (compat: introduce
on_disk_bytes(), 2008-08-18) which caused git-count-objects to claim 512
times too much space used for loose objects.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mg/count-objects'</title>
<updated>2008-08-21T06:41:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-08-21T06:41:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=99b52f2e495a2ccdb4ebf2a540a8bc81fa2bcf3d'/>
<id>urn:sha1:99b52f2e495a2ccdb4ebf2a540a8bc81fa2bcf3d</id>
<content type='text'>
* mg/count-objects:
  count-objects: Add total pack size to verbose output
</content>
</entry>
<entry>
<title>compat: introduce on_disk_bytes()</title>
<updated>2008-08-19T05:37:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-08-18T19:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fdb2a2a600969598fd80f01b009fbbb020d596ab'/>
<id>urn:sha1:fdb2a2a600969598fd80f01b009fbbb020d596ab</id>
<content type='text'>
Some platforms do not have st_blocks member in "struct stat"; mingw
already emulates it by rounding it up to closest 512-byte blocks (even
though it could overcount when a file has holes).

The reason to use the member is only to figure out how many kilobytes the
files occupy on-disk, so give a helper function in git-compat-util.h to
compute this value.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Acked-by: Johannes Sixt &lt;johannes.sixt@telecom.at&gt;
</content>
</entry>
<entry>
<title>count-objects: Add total pack size to verbose output</title>
<updated>2008-08-17T08:01:42Z</updated>
<author>
<name>Marcus Griep</name>
<email>marcus@griep.us</email>
</author>
<published>2008-08-15T04:20:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f223824943e23e593b5e9cc647417a4267acc82d'/>
<id>urn:sha1:f223824943e23e593b5e9cc647417a4267acc82d</id>
<content type='text'>
Adds the total pack size (including indexes) the verbose count-objects
output, floored to the nearest kilobyte.

Updates documentation to match this addition.

Signed-off-by: Marcus Griep &lt;marcus@griep.us&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Make usage strings dash-less</title>
<updated>2008-07-13T21:12:48Z</updated>
<author>
<name>Stephan Beyer</name>
<email>s-beyer@gmx.net</email>
</author>
<published>2008-07-13T13:36:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1b1dd23f2d6a707b7077cdf6bc6d4055bd0bfb7d'/>
<id>urn:sha1:1b1dd23f2d6a707b7077cdf6bc6d4055bd0bfb7d</id>
<content type='text'>
When you misuse a git command, you are shown the usage string.
But this is currently shown in the dashed form.  So if you just
copy what you see, it will not work, when the dashed form
is no longer supported.

This patch makes git commands show the dash-less version.

For shell scripts that do not specify OPTIONS_SPEC, git-sh-setup.sh
generates a dash-less usage string now.

Signed-off-by: Stephan Beyer &lt;s-beyer@gmx.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Make builtin-count-objects.c use parse_options.</title>
<updated>2007-10-30T04:03:31Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2007-10-15T20:38:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=833f3abd821434fd9b12d6cea66f04f232479c22'/>
<id>urn:sha1:833f3abd821434fd9b12d6cea66f04f232479c22</id>
<content type='text'>
Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>Simplify index access condition in count-objects, pack-redundant</title>
<updated>2007-05-30T06:30:11Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-05-30T06:12:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eaa867703927c1f383637979d16c40d996cea240'/>
<id>urn:sha1:eaa867703927c1f383637979d16c40d996cea240</id>
<content type='text'>
My earlier lazy index opening patch changed this condition to check
index_data and call open_pack_index if it was NULL. In truth we only
care about num_objects.  Since open_pack_index does no harm if the
index is already open, and all indexes are likely to be closed in
this application, the "performance optimization" of inlining the
index_data check here was wrong.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
