<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/pathspec.h, branch v1.8.3.3</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.3.3</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.3.3'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2013-01-06T22:26:37Z</updated>
<entry>
<title>add.c: extract new die_if_path_beyond_symlink() for reuse</title>
<updated>2013-01-06T22:26:37Z</updated>
<author>
<name>Adam Spiers</name>
<email>git@adamspiers.org</email>
</author>
<published>2013-01-06T16:58:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=512aaf9453cecfa57dddc61aec2132b936b2ff70'/>
<id>urn:sha1:512aaf9453cecfa57dddc61aec2132b936b2ff70</id>
<content type='text'>
This will be reused by a new git check-ignore command.

Also document validate_pathspec().

Signed-off-by: Adam Spiers &lt;git@adamspiers.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>add.c: extract check_path_for_gitlink() from treat_gitlinks() for reuse</title>
<updated>2013-01-06T22:26:37Z</updated>
<author>
<name>Adam Spiers</name>
<email>git@adamspiers.org</email>
</author>
<published>2013-01-06T16:58:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9d67b61f739a1a898bc8c9960047ebff0e9c9d09'/>
<id>urn:sha1:9d67b61f739a1a898bc8c9960047ebff0e9c9d09</id>
<content type='text'>
Extract the body of the for loop in treat_gitlinks() into a separate
check_path_for_gitlink() function so that it can be reused elsewhere.
This paves the way for a new check-ignore sub-command.

Also document treat_gitlinks().

Signed-off-by: Adam Spiers &lt;git@adamspiers.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pathspec.c: rename newly public functions for clarity</title>
<updated>2013-01-06T22:26:37Z</updated>
<author>
<name>Adam Spiers</name>
<email>git@adamspiers.org</email>
</author>
<published>2013-01-06T16:58:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=4b78d7bccdda25290ab6c04bf45d835b4fdfab45'/>
<id>urn:sha1:4b78d7bccdda25290ab6c04bf45d835b4fdfab45</id>
<content type='text'>
Perform the following function renames to make it explicit that these
pathspec handling functions are for matching against the index, rather
than against a tree or the working directory.

- fill_pathspec_matches() -&gt; add_pathspec_matches_against_index()
- find_used_pathspec() -&gt; find_pathspecs_matching_against_index()

Signed-off-by: Adam Spiers &lt;git@adamspiers.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>add.c: move pathspec matchers into new pathspec.c for reuse</title>
<updated>2013-01-06T22:26:37Z</updated>
<author>
<name>Adam Spiers</name>
<email>git@adamspiers.org</email>
</author>
<published>2013-01-06T16:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6f525e7100061fb0dbc2d9230cc9948c7c5b2978'/>
<id>urn:sha1:6f525e7100061fb0dbc2d9230cc9948c7c5b2978</id>
<content type='text'>
Extract the following functions from builtin/add.c to pathspec.c, in
preparation for reuse by a new git check-ignore command:

  - fill_pathspec_matches()
  - find_used_pathspec()

The functions being extracted are not changed in any way, except
removal of the 'static' qualifier.

Also add comments documenting these newly public functions,
including clarifications that they operate on the index.

Signed-off-by: Adam Spiers &lt;git@adamspiers.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
