<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/path.h, branch v2.20.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.20.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.20.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-08-15T18:52:09Z</updated>
<entry>
<title>Add missing includes and forward declarations</title>
<updated>2018-08-15T18:52:09Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2018-08-15T17:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ef3ca95475ce467ae883cc8175ed40e6f7d27800'/>
<id>urn:sha1:ef3ca95475ce467ae883cc8175ed40e6f7d27800</id>
<content type='text'>
I looped over the toplevel header files, creating a temporary two-line C
program for each consisting of
  #include "git-compat-util.h"
  #include $HEADER
This patch is the result of manually fixing errors in compiling those
tiny programs.

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bb/pedantic'</title>
<updated>2018-07-24T21:50:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-07-24T21:50:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=00da9b2091ef8d1955fa2f021b8ba111ce6a5fed'/>
<id>urn:sha1:00da9b2091ef8d1955fa2f021b8ba111ce6a5fed</id>
<content type='text'>
The codebase has been updated to compile cleanly with -pedantic
option.

* bb/pedantic:
  utf8.c: avoid char overflow
  string-list.c: avoid conversion from void * to function pointer
  sequencer.c: avoid empty statements at top level
  convert.c: replace "\e" escapes with "\033".
  fixup! refs/refs-internal.h: avoid forward declaration of an enum
  refs/refs-internal.h: avoid forward declaration of an enum
  fixup! connect.h: avoid forward declaration of an enum
  connect.h: avoid forward declaration of an enum
</content>
</entry>
<entry>
<title>sequencer.c: avoid empty statements at top level</title>
<updated>2018-07-09T21:37:03Z</updated>
<author>
<name>Beat Bolli</name>
<email>dev+git@drbeat.li</email>
</author>
<published>2018-07-09T19:25:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ad36356dd13b53667a51020c9aef0d4e014af01'/>
<id>urn:sha1:9ad36356dd13b53667a51020c9aef0d4e014af01</id>
<content type='text'>
The macro GIT_PATH_FUNC expands to a function definition that ends with
a closing brace. Remove two extra semicolons.

While at it, fix the example in path.h.

Signed-off-by: Beat Bolli &lt;dev+git@drbeat.li&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>path.c: migrate global git_path_* to take a repository argument</title>
<updated>2018-05-17T23:13:10Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2018-05-17T22:51:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=102de880d24fe66a8916e7c984e5bf8db6be047c'/>
<id>urn:sha1:102de880d24fe66a8916e7c984e5bf8db6be047c</id>
<content type='text'>
Migrate all git_path_* functions that are defined in path.c to take a
repository argument. Unlike other patches in this series, do not use the
 #define trick, as we rewrite the whole function, which is rather small.

This doesn't migrate all the functions, as other builtins have their own
local path functions defined using GIT_PATH_FUNC. So keep that macro
around to serve the other locations.

Signed-off-by: Stefan Beller &lt;sbeller@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>path: document path functions</title>
<updated>2017-12-13T19:14:25Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-12-13T18:28:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c07b3adff1ce8d346fe1312a840a7246885442c0'/>
<id>urn:sha1:c07b3adff1ce8d346fe1312a840a7246885442c0</id>
<content type='text'>
Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>path: add repo_worktree_path and strbuf_repo_worktree_path</title>
<updated>2017-06-24T01:24:34Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-06-22T18:43:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b42b0c09199db794b2a34ae9ce293d6711fb6a4f'/>
<id>urn:sha1:b42b0c09199db794b2a34ae9ce293d6711fb6a4f</id>
<content type='text'>
Introduce 'repo_worktree_path' and 'strbuf_repo_worktree_path' which
take a repository struct and constructs a path relative to the
repository's worktree.

Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>path: add repo_git_path and strbuf_repo_git_path</title>
<updated>2017-06-24T01:24:34Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-06-22T18:43:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3181d86320f748b7b4f7a7133f2127e825eed702'/>
<id>urn:sha1:3181d86320f748b7b4f7a7133f2127e825eed702</id>
<content type='text'>
Introduce 'repo_git_path' and 'strbuf_repo_git_path' which take a
repository struct and constructs a path into the repository's git
directory.

Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>path: convert strbuf_git_common_path to take a 'struct repository'</title>
<updated>2017-06-24T01:24:34Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-06-22T18:43:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b337172c834b854903fb523416b53fe354b6e2a5'/>
<id>urn:sha1:b337172c834b854903fb523416b53fe354b6e2a5</id>
<content type='text'>
Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>path: create path.h</title>
<updated>2017-06-24T01:24:34Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-06-22T18:43:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e7d72d07535012b73c6bed67a5a09b1f58082203'/>
<id>urn:sha1:e7d72d07535012b73c6bed67a5a09b1f58082203</id>
<content type='text'>
Move all path related declarations from cache.h to a new path.h header
file.  This makes cache.h smaller and makes it easier to add new path
related functions.

Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
