<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin, branch v2.3.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.6</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-03-31T21:53:08Z</updated>
<entry>
<title>Merge branch 'jc/report-path-error-to-dir' into maint</title>
<updated>2015-03-31T21:53:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-31T21:53:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ab0fb57aac6c5b6f074c07c7e2729bcff58cc45d'/>
<id>urn:sha1:ab0fb57aac6c5b6f074c07c7e2729bcff58cc45d</id>
<content type='text'>
Code clean-up.

* jc/report-path-error-to-dir:
  report_path_error(): move to dir.c
</content>
</entry>
<entry>
<title>Merge branch 'ws/grep-quiet-no-pager' into maint</title>
<updated>2015-03-28T16:33:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-28T16:33:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b70cec0a2e8636c12617b38255c7ad2bb90f5cc9'/>
<id>urn:sha1:b70cec0a2e8636c12617b38255c7ad2bb90f5cc9</id>
<content type='text'>
Even though "git grep --quiet" is run merely to ask for the exit
status, we spawned the pager regardless.  Stop doing that.

* ws/grep-quiet-no-pager:
  grep: fix "--quiet" overwriting current output
</content>
</entry>
<entry>
<title>Merge branch 'jk/cleanup-failed-clone' into maint</title>
<updated>2015-03-28T16:33:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-28T16:33:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=73d8bfde32acae522b305f7742350d392e3f4e86'/>
<id>urn:sha1:73d8bfde32acae522b305f7742350d392e3f4e86</id>
<content type='text'>
An failure early in the "git clone" that started creating the
working tree and repository could have resulted in some directories
and files left without getting cleaned up.

* jk/cleanup-failed-clone:
  clone: drop period from end of die_errno message
  clone: initialize atexit cleanup handler earlier
</content>
</entry>
<entry>
<title>Merge branch 'jk/prune-with-corrupt-refs' into maint</title>
<updated>2015-03-28T16:33:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-28T16:33:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9f389aa4920f147a6314719741b47074b2e4b727'/>
<id>urn:sha1:9f389aa4920f147a6314719741b47074b2e4b727</id>
<content type='text'>
"git prune" used to largely ignore broken refs when deciding which
objects are still being used, which could spread an existing small
damage and make it a larger one.

* jk/prune-with-corrupt-refs:
  refs.c: drop curate_packed_refs
  repack: turn on "ref paranoia" when doing a destructive repack
  prune: turn on ref_paranoia flag
  refs: introduce a "ref paranoia" flag
  t5312: test object deletion code paths in a corrupted repository
</content>
</entry>
<entry>
<title>Merge branch 'jk/tag-h-column-is-a-listing-option' into maint</title>
<updated>2015-03-27T20:00:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-27T20:00:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d8279c7d85f82edea8c86e4e7c2fbd787ae09735'/>
<id>urn:sha1:d8279c7d85f82edea8c86e4e7c2fbd787ae09735</id>
<content type='text'>
"git tag -h" used to show the "--column" and "--sort" options
that are about listing in a wrong section.

* jk/tag-h-column-is-a-listing-option:
  tag: fix some mis-organized options in "-h" listing
</content>
</entry>
<entry>
<title>report_path_error(): move to dir.c</title>
<updated>2015-03-24T21:12:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-24T21:12:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=777c55a61615837d4391facd75cf334b96635801'/>
<id>urn:sha1:777c55a61615837d4391facd75cf334b96635801</id>
<content type='text'>
The expected call sequence is for the caller to use match_pathspec()
repeatedly on a set of pathspecs, accumulating the "hits" in a
separate array, and then call this function to diagnose a pathspec
that never matched anything, as that can indicate a typo from the
command line, e.g. "git commit Maekfile".

Many builtin commands use this function from builtin/ls-files.c,
which is not a very healthy arrangement.  ls-files might have been
the first command to feel the need for such a helper, but the need
is shared by everybody who uses the "match and then report" pattern.

Move it to dir.c where match_pathspec() is defined.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rs/deflate-init-cleanup' into maint</title>
<updated>2015-03-23T18:23:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-23T18:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a393c6bfd95e51ced65984de2a83a11490c4cfce'/>
<id>urn:sha1:a393c6bfd95e51ced65984de2a83a11490c4cfce</id>
<content type='text'>
Code simplification.

* rs/deflate-init-cleanup:
  zlib: initialize git_zstream in git_deflate_init{,_gzip,_raw}
</content>
</entry>
<entry>
<title>repack: turn on "ref paranoia" when doing a destructive repack</title>
<updated>2015-03-20T19:41:38Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2015-03-20T18:43:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d422993617be42a48a54fd7325d5ba5350c1082'/>
<id>urn:sha1:8d422993617be42a48a54fd7325d5ba5350c1082</id>
<content type='text'>
If we are repacking with "-ad", we will drop any unreachable
objects. Likewise, using "-Ad --unpack-unreachable=&lt;time&gt;"
will drop any old, unreachable objects. In these cases, we
want to make sure the reachability we compute with "--all"
is complete. We can do this by passing GIT_REF_PARANOIA=1 in
the environment to pack-objects.

Note that "-Ad" is safe already, because it only loosens
unreachable objects. It is up to "git prune" to avoid
deleting them.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>prune: turn on ref_paranoia flag</title>
<updated>2015-03-20T19:40:56Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2015-03-20T18:43:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ff4056bbc35aa499f449cbab46702a76cea0e532'/>
<id>urn:sha1:ff4056bbc35aa499f449cbab46702a76cea0e532</id>
<content type='text'>
Prune should know about broken objects at the tips of refs,
so that we can feed them to our traversal rather than
ignoring them. It's better for us to abort the operation on
the broken object than it is to start deleting objects with
an incomplete view of the reachability namespace.

Note that for missing objects, aborting is the best we can
do. For a badly-named ref, we technically could use its sha1
as a reachability tip. However, the iteration code just
feeds us a null sha1, so there would be a reasonable amount
of code involved to pass down our wishes. It's not really
worth trying to do better, because this is a case that
should happen extremely rarely, and the message we provide:

  fatal: unable to parse object: refs/heads/bogus:name

is probably enough to point the user in the right direction.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>clone: drop period from end of die_errno message</title>
<updated>2015-03-19T20:38:36Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2015-03-18T19:02:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=16eff6c009c0af430975d44c0af98262f1edb549'/>
<id>urn:sha1:16eff6c009c0af430975d44c0af98262f1edb549</id>
<content type='text'>
We do not usually end our errors with a full stop, but it
looks especially bad when you use die_errno, which adds a
colon, like:

  fatal: could not create work tree dir 'foo'.: No such file or directory

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
