<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/refs.c, branch v0.99</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v0.99</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v0.99'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2005-07-08T20:56:05Z</updated>
<entry>
<title>Make "for_each_ref()" always use the "canonical" refname.</title>
<updated>2005-07-08T20:56:05Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-08T20:56:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=99a0a6e09f2c9737d1155f25e8cd4c3bc512a8ea'/>
<id>urn:sha1:99a0a6e09f2c9737d1155f25e8cd4c3bc512a8ea</id>
<content type='text'>
It always uses a git-relative pathname, ie "refs/heads/master" instead of
".git/refs/heads/master" or whatever your GIT_DIR might be.

This way when we send refs back-and-forth between repositories, there's
never any question about GIT_DIR on either side.
</content>
</entry>
<entry>
<title>Fix silly thinko in "head_ref()"</title>
<updated>2005-07-05T22:45:00Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-05T22:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2f34ba32dde0131ab280f8ca902f04e39af7dcc0'/>
<id>urn:sha1:2f34ba32dde0131ab280f8ca902f04e39af7dcc0</id>
<content type='text'>
It did a "for_each_ref()" in addition to the HEAD case, which was a
left-over from an early broken test.
</content>
</entry>
<entry>
<title>Add "git_path()" and "head_ref()" helper functions.</title>
<updated>2005-07-05T18:31:32Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-05T18:31:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=723c31fea2f1c4994de837bda9022ffa8b6de1bb'/>
<id>urn:sha1:723c31fea2f1c4994de837bda9022ffa8b6de1bb</id>
<content type='text'>
"git_path()" returns a static pathname pointer into the git directory
using a printf-like format specifier.

"head_ref()" works like "for_each_ref()", except for just the HEAD.
</content>
</entry>
<entry>
<title>Clean up output of "for_each_ref()" when GIT_DIR is "."</title>
<updated>2005-07-04T22:28:19Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-04T22:28:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6cada6a98d357a4891cafa241e04c5fcb500107a'/>
<id>urn:sha1:6cada6a98d357a4891cafa241e04c5fcb500107a</id>
<content type='text'>
Remove the "./" at the head, it just looks much nicer.
</content>
</entry>
<entry>
<title>Fix up "for_each_ref()" to be more usable, and use it in git-fsck-cache</title>
<updated>2005-07-03T17:01:38Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-03T17:01:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=944d858969e4e14adefdd8f21fac5c8ab45f83f7'/>
<id>urn:sha1:944d858969e4e14adefdd8f21fac5c8ab45f83f7</id>
<content type='text'>
It needed to take the GIT_DIR information into account, something that
the original receive-pack usage just never cared about.
</content>
</entry>
<entry>
<title>Generalize the "show each ref" code in receice-pack</title>
<updated>2005-07-03T03:23:36Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-03T03:23:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a65ff7666db1299449a397bab3d39d74b82aa54'/>
<id>urn:sha1:8a65ff7666db1299449a397bab3d39d74b82aa54</id>
<content type='text'>
This turns it into a generic "do xyz for each ref" library function.
</content>
</entry>
<entry>
<title>[PATCH] Operations on refs</title>
<updated>2005-06-07T00:09:45Z</updated>
<author>
<name>Daniel Barkalow</name>
<email>barkalow@iabervon.org</email>
</author>
<published>2005-06-06T20:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=95fc75129acf14d980bdd56b9b2ee74190f81d91'/>
<id>urn:sha1:95fc75129acf14d980bdd56b9b2ee74190f81d91</id>
<content type='text'>
This patch adds code to read a hash out of a specified file under
{GIT_DIR}/refs/, and to write such files atomically and optionally with an
compare and lock.

Signed-off-by: Daniel Barkalow &lt;barkalow@iabervon.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
