<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin-count-objects.c, branch v1.6.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.6.6.3</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.6.3'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2009-12-30T09:24:12Z</updated>
<entry>
<title>Merge branch 'maint-1.6.1' into maint</title>
<updated>2009-12-30T09:24:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-12-30T09:24:12Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=b0b3a241e2ca1ba5b928a128b6dcafb990df6e75'/>
<id>urn:sha1:b0b3a241e2ca1ba5b928a128b6dcafb990df6e75</id>
<content type='text'>
* maint-1.6.1:
  textconv: stop leaking file descriptors
  commit: --cleanup is a message option
  git count-objects: handle packs bigger than 4G
  t7102: make the test fail if one of its check fails

Conflicts:
	builtin-commit.c
	diff.c
</content>
</entry>
<entry>
<title>git count-objects: handle packs bigger than 4G</title>
<updated>2009-12-30T03:51:37Z</updated>
<author>
<name>Andreas Schwab</name>
<email>schwab@linux-m68k.org</email>
</author>
<published>2009-12-29T19:09:15Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c985ddf318a8c41c6e1abc8bebd058b31c7413c1'/>
<id>urn:sha1:c985ddf318a8c41c6e1abc8bebd058b31c7413c1</id>
<content type='text'>
Use off_t to count sizes of packs and objects to avoid overflow after
4Gb.

Signed-off-by: Andreas Schwab &lt;schwab@linux-m68k.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>parse-opts: prepare for OPT_FILENAME</title>
<updated>2009-05-25T08:07:25Z</updated>
<author>
<name>Stephen Boyd</name>
<email>bebarino@gmail.com</email>
</author>
<published>2009-05-23T18:53:12Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=377829201783b8a648e07af6ce7d747e0f45dc19'/>
<id>urn:sha1:377829201783b8a648e07af6ce7d747e0f45dc19</id>
<content type='text'>
To give OPT_FILENAME the prefix, we pass the prefix to parse_options()
which passes the prefix to parse_options_start() which sets the prefix
member of parse_opts_ctx accordingly. If there isn't a prefix in the
calling context, passing NULL will suffice.

Signed-off-by: Stephen Boyd &lt;bebarino@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/maint-1.6.0-keep-pack' into maint-1.6.1</title>
<updated>2009-05-03T22:01:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-05-03T22:01:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=e89c6ea9988fc039a17875eb9cbdea245e96ed67'/>
<id>urn:sha1:e89c6ea9988fc039a17875eb9cbdea245e96ed67</id>
<content type='text'>
* jc/maint-1.6.0-keep-pack:
  pack-objects: don't loosen objects available in alternate or kept packs
  t7700: demonstrate repack flaw which may loosen objects unnecessarily
  Remove --kept-pack-only option and associated infrastructure
  pack-objects: only repack or loosen objects residing in "local" packs
  git-repack.sh: don't use --kept-pack-only option to pack-objects
  t7700-repack: add two new tests demonstrating repacking flaws
  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>Merge branch 'jc/maint-1.6.0-keep-pack' into maint</title>
<updated>2009-04-09T06:21:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-09T06:21:10Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c3067cbfb3fbab32177d5f61ea73127f08ab43cb'/>
<id>urn:sha1:c3067cbfb3fbab32177d5f61ea73127f08ab43cb</id>
<content type='text'>
* jc/maint-1.6.0-keep-pack:
  pack-objects: don't loosen objects available in alternate or kept packs
  t7700: demonstrate repack flaw which may loosen objects unnecessarily
  Remove --kept-pack-only option and associated infrastructure
  pack-objects: only repack or loosen objects residing in "local" packs
  git-repack.sh: don't use --kept-pack-only option to pack-objects
  t7700-repack: add two new tests demonstrating repacking flaws
  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

Conflicts:
	t/t7700-repack.sh
</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://www.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://www.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://www.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://www.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://www.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>
</feed>
