<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/refs.c, branch v1.6.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.4</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-07-24T16:27:09Z</updated>
<entry>
<title>Merge branch 'maint'</title>
<updated>2009-07-24T16:27:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-07-24T16:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f87dd2152a6941dfa7f3ddaf599bc30f58562a98'/>
<id>urn:sha1:f87dd2152a6941dfa7f3ddaf599bc30f58562a98</id>
<content type='text'>
* maint:
  SunOS grep does not understand -C&lt;n&gt; nor -e
  Fix export_marks() error handling.
  git branch: clean up detached branch handling
  git branch: avoid unnecessary object lookups
  git branch: fix performance problem
  do_one_ref(): null_sha1 check is not about broken ref

Conflicts:
	Makefile
</content>
</entry>
<entry>
<title>do_one_ref(): null_sha1 check is not about broken ref</title>
<updated>2009-07-23T06:07:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-07-23T06:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eafb45265bb9fcbee3cc03b451da7e17db9e6be7'/>
<id>urn:sha1:eafb45265bb9fcbee3cc03b451da7e17db9e6be7</id>
<content type='text'>
f8948e2 (remote prune: warn dangling symrefs, 2009-02-08) introduced a
more dangerous variant of for_each_ref() family that skips the check for
dangling refs, but it also made another unrelated check optional by
mistake.

The check to see if a ref points at 0{40} is not about brokenness, but is
about a possible future plan to represent a deleted ref by writing 40 "0"
in a loose ref when there is a stale version of the same ref already in
.git/packed-refs, so that we can implement deletion of a ref without
having to rewrite the packed refs file excluding the ref being deleted.

This check has to live outside of the conditional.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2009-07-18T23:57:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-07-18T23:57:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=58b1ef2f0fce75ebf4fbf88e5bdf76a0afaeacce'/>
<id>urn:sha1:58b1ef2f0fce75ebf4fbf88e5bdf76a0afaeacce</id>
<content type='text'>
* maint:
  checkout -f: deal with a D/F conflict entry correctly
  sha1_name.c: avoid unnecessary strbuf_release
  refs.c: release file descriptor on error return
</content>
</entry>
<entry>
<title>refs.c: release file descriptor on error return</title>
<updated>2009-07-16T22:07:24Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2009-07-16T21:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9d33f7c22fda81f7be8a7aa1576e6d399d3b45ec'/>
<id>urn:sha1:9d33f7c22fda81f7be8a7aa1576e6d399d3b45ec</id>
<content type='text'>
Signed-off-by: Brandon Casey &lt;drafnel@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Convert existing die(..., strerror(errno)) to die_errno()</title>
<updated>2009-06-27T18:14:53Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2009-06-27T15:58:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d824cbba02a4061400a0e382f9bd241fbbff34f0'/>
<id>urn:sha1:d824cbba02a4061400a0e382f9bd241fbbff34f0</id>
<content type='text'>
Change calls to die(..., strerror(errno)) to use the new die_errno().

In the process, also make slight style adjustments: at least state
_something_ about the function that failed (instead of just printing
the pathname), and put paths in single quotes.

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2009-05-26T02:44:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-05-26T02:44:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=23807fa0086ae6ad6980a2a1071f23ed1a6dde93'/>
<id>urn:sha1:23807fa0086ae6ad6980a2a1071f23ed1a6dde93</id>
<content type='text'>
* maint:
  Prepare for 1.6.3.2
  fix cat-file usage message and documentation
  fetch: report ref storage DF errors more accurately
  lock_ref: inform callers of unavailable ref
  merge-options.txt: Clarify merge --squash

Conflicts:
	RelNotes
</content>
</entry>
<entry>
<title>Merge branch 'ar/unlink-err' into maint</title>
<updated>2009-05-26T02:01:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-05-26T02:01:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2c5942dbae01e5c23d2b68aced019702eb256ad9'/>
<id>urn:sha1:2c5942dbae01e5c23d2b68aced019702eb256ad9</id>
<content type='text'>
* ar/unlink-err:
  print unlink(2) errno in copy_or_link_directory
  replace direct calls to unlink(2) with unlink_or_warn
  Introduce an unlink(2) wrapper which gives warning if unlink failed
</content>
</entry>
<entry>
<title>lock_ref: inform callers of unavailable ref</title>
<updated>2009-05-25T19:06:54Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2009-05-25T10:37:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f475e08edbbabe38bd758fd42f08f646551468d9'/>
<id>urn:sha1:f475e08edbbabe38bd758fd42f08f646551468d9</id>
<content type='text'>
One of the ways that locking might fail is that there is a
DF conflict between two refs (e.g., you want to lock
"foo/bar" but "foo" already exists). In this case, we return
an error, but there is no way for the caller to know the
specific problem.

This patch sets errno to ENOTDIR, which is the most sensible
code. It's what we would see if the refs were stored purely
in the filesystem (but these days we must check the
namespace manually due to packed refs).

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>Merge branch 'fc/decorate-tag'</title>
<updated>2009-05-23T08:43:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-05-23T08:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=44ee247f8db243fbd3c50fee0fe35696ed7da8d3'/>
<id>urn:sha1:44ee247f8db243fbd3c50fee0fe35696ed7da8d3</id>
<content type='text'>
* fc/decorate-tag:
  Prettify log decorations even more
  Change prettify_ref to prettify_refname
</content>
</entry>
<entry>
<title>Merge branch 'rr/forbid-bs-in-ref'</title>
<updated>2009-05-23T08:39:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-05-23T08:39:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e05aae684d453695bc5bd1e66aa96bc7d42e186a'/>
<id>urn:sha1:e05aae684d453695bc5bd1e66aa96bc7d42e186a</id>
<content type='text'>
* rr/forbid-bs-in-ref:
  Disallow '\' in ref names
</content>
</entry>
</feed>
