<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/refs.c, branch v2.23.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.23.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.23.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-06-20T17:06:19Z</updated>
<entry>
<title>object: convert lookup_unknown_object() to use object_id</title>
<updated>2019-06-20T17:06:19Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2019-06-20T07:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0ebbcf70e672ef9ad46eb4975a34d3639190aeb2'/>
<id>urn:sha1:0ebbcf70e672ef9ad46eb4975a34d3639190aeb2</id>
<content type='text'>
There are no callers left of lookup_unknown_object() that aren't just
passing us the "hash" member of a "struct object_id". Let's take the
whole struct, which gets us closer to removing all raw sha1 variables.
It also matches the existing conversions of lookup_blob(), etc.

The conversions of callers were done by hand, but they're all mechanical
one-liners.

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 'nd/worktree-name-sanitization'</title>
<updated>2019-06-13T20:19:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-06-13T20:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0d107b19890db191c9281bff67180389fb53df24'/>
<id>urn:sha1:0d107b19890db191c9281bff67180389fb53df24</id>
<content type='text'>
In recent versions of Git, per-worktree refs are exposed in
refs/worktrees/&lt;wtname&gt;/ hierarchy, which means that worktree names
must be a valid refname component.  The code now sanitizes the names
given to worktrees, to make sure these refs are well-formed.

* nd/worktree-name-sanitization:
  worktree add: sanitize worktree names
</content>
</entry>
<entry>
<title>worktree add: sanitize worktree names</title>
<updated>2019-05-15T04:56:43Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-03-08T09:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1de16aecf51daf5794aa074f6dd133e088a12690'/>
<id>urn:sha1:1de16aecf51daf5794aa074f6dd133e088a12690</id>
<content type='text'>
Worktree names are based on $(basename $GIT_WORK_TREE). They aren't
significant until 3a3b9d8cde (refs: new ref types to make per-worktree
refs visible to all worktrees - 2018-10-21), where worktree name could
be part of a refname and must follow refname rules.

Update 'worktree add' code to remove special characters to follow
these rules. In the future the user will be able to specify the
worktree name by themselves if they're not happy with this dumb
character substitution.

Reported-by: Konstantin Kharlamov &lt;hi-angel@yandex.ru&gt;
Helped-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs.c: remove the_repo from read_ref_at()</title>
<updated>2019-04-08T08:26:33Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-04-06T11:34:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7fdff47432bbb591b6e44ebab48e1f206521cd1b'/>
<id>urn:sha1:7fdff47432bbb591b6e44ebab48e1f206521cd1b</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs.c: add repo_dwim_log()</title>
<updated>2019-04-08T08:26:33Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-04-06T11:34:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=567009033f7ef4619c890f0e07d7e0b67136e1b1'/>
<id>urn:sha1:567009033f7ef4619c890f0e07d7e0b67136e1b1</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs.c: add repo_dwim_ref()</title>
<updated>2019-04-08T08:26:33Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-04-06T11:34:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d8984c532a18419cdbc69641f981a0a4f553729c'/>
<id>urn:sha1:d8984c532a18419cdbc69641f981a0a4f553729c</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs.c: remove the_repo from expand_ref()</title>
<updated>2019-04-08T08:26:33Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-04-06T11:34:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0b1dbf53dfeed20bd9bc34631e04c5db37ee6121'/>
<id>urn:sha1:0b1dbf53dfeed20bd9bc34631e04c5db37ee6121</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs.c: remove the_repo from substitute_branch_name()</title>
<updated>2019-04-08T08:26:32Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-04-06T11:34:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8f56e9d4baa836a4a3cd56767457d6122de7ce1d'/>
<id>urn:sha1:8f56e9d4baa836a4a3cd56767457d6122de7ce1d</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs.c: add refs_shorten_unambiguous_ref()</title>
<updated>2019-04-08T08:26:32Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-04-06T11:34:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=546edf37ae427cf5fdb8c00d1820df73cd16eed6'/>
<id>urn:sha1:546edf37ae427cf5fdb8c00d1820df73cd16eed6</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>refs.c: add refs_ref_exists()</title>
<updated>2019-04-08T08:26:32Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2019-04-06T11:34:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b3cd33d0792768f3a45bed850fbc884fb499388d'/>
<id>urn:sha1:b3cd33d0792768f3a45bed850fbc884fb499388d</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
