<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/apply/index.c, branch ethomson/https_proxy</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>apply: move location to an argument, not the opts</title>
<updated>2018-11-05T15:53:58+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-07-08T15:12:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=37b25ac57f78dc72e6bf4e516e24dc5010098cee'/>
<id>37b25ac57f78dc72e6bf4e516e24dc5010098cee</id>
<content type='text'>
Move the location option to an argument, out of the options structure.
This allows the options structure to be re-used for functions that don't
need to know the location, since it's implicit in their functionality.
For example, `git_apply_tree` should not take a location, but is
expected to take all the other options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the location option to an argument, out of the options structure.
This allows the options structure to be re-used for functions that don't
need to know the location, since it's implicit in their functionality.
For example, `git_apply_tree` should not take a location, but is
expected to take all the other options.
</pre>
</div>
</content>
</entry>
<entry>
<title>apply tests: ensure mode changes occur</title>
<updated>2018-11-05T15:53:34+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-07-01T20:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=eb76e985899b514401d4408858834da4a2a09912'/>
<id>eb76e985899b514401d4408858834da4a2a09912</id>
<content type='text'>
Test that a mode change is reflected in the working directory or index.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test that a mode change is reflected in the working directory or index.
</pre>
</div>
</content>
</entry>
<entry>
<title>apply tests: ensure we can patch a modified file</title>
<updated>2018-11-05T15:53:34+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-07-01T12:46:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=3b674660fe3f7c05359110007099ddf051caca7d'/>
<id>3b674660fe3f7c05359110007099ddf051caca7d</id>
<content type='text'>
Patch application need not be on an unmodified file; applying to an
already changed file is supported provided the patch still applies
cleanly.  Add tests that modifies the contents of a file then applies
the patch and ensures that the patch applies cleanly, and the original
changes are also kept.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch application need not be on an unmodified file; applying to an
already changed file is supported provided the patch still applies
cleanly.  Add tests that modifies the contents of a file then applies
the patch and ensures that the patch applies cleanly, and the original
changes are also kept.
</pre>
</div>
</content>
</entry>
<entry>
<title>apply test: apply with non-conflicting changes</title>
<updated>2018-11-05T15:53:03+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-06-29T11:50:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=9db66c790d04ee81e838160d2c60c6193daef82f'/>
<id>9db66c790d04ee81e838160d2c60c6193daef82f</id>
<content type='text'>
Ensure that we can apply to the working directory or the index when the
application target is modified, so long as there are not conflicting
changes to the items.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that we can apply to the working directory or the index when the
application target is modified, so long as there are not conflicting
changes to the items.
</pre>
</div>
</content>
</entry>
<entry>
<title>apply tests: ensure apply failures leave index unmodified</title>
<updated>2018-11-05T15:53:03+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-06-29T11:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=771bd81e6ee3b3c04a214aacfcf8a3d2910f6b49'/>
<id>771bd81e6ee3b3c04a214aacfcf8a3d2910f6b49</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>apply tests: modified wd items are ok when applying to index</title>
<updated>2018-11-04T09:21:48+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-06-29T10:43:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=2bd3cfea4b5e6ef96d24693f6002e6243bf715c5'/>
<id>2bd3cfea4b5e6ef96d24693f6002e6243bf715c5</id>
<content type='text'>
When applying to the index (using `GIT_APPLY_LOCATION_INDEX`), ensure
that items modified in the working directory do not conflict with the
application.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When applying to the index (using `GIT_APPLY_LOCATION_INDEX`), ensure
that items modified in the working directory do not conflict with the
application.
</pre>
</div>
</content>
</entry>
<entry>
<title>apply tests: ensure we can add and remove files from the index</title>
<updated>2018-11-04T09:21:48+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-06-28T16:26:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d7090ee4a8efe29fb32a1597cf128ce9c1a644c1'/>
<id>d7090ee4a8efe29fb32a1597cf128ce9c1a644c1</id>
<content type='text'>
Add a test that adds a new file, and another that removes a file when
applying using `GIT_APPLY_LOCATION_INDEX` to ensure that they work.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a test that adds a new file, and another that removes a file when
applying using `GIT_APPLY_LOCATION_INDEX` to ensure that they work.
</pre>
</div>
</content>
</entry>
<entry>
<title>apply tests: GIT_APPLY_LOCATION_INDEX with parsed patches</title>
<updated>2018-11-04T09:21:48+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-06-28T15:26:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=9d81defa79d5eccb863c712a0c4b97952d45c886'/>
<id>9d81defa79d5eccb863c712a0c4b97952d45c886</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>apply tests: GIT_APPLY_LOCATION_INDEX with generated patches</title>
<updated>2018-11-04T09:21:48+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2018-06-28T15:24:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=eef34e4e71e5732e2794681bb3b605f63339a09d'/>
<id>eef34e4e71e5732e2794681bb3b605f63339a09d</id>
<content type='text'>
Test a simple patch application with `GIT_APPLY_LOCATION_INDEX`, which
emulates `git apply --cached`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test a simple patch application with `GIT_APPLY_LOCATION_INDEX`, which
emulates `git apply --cached`.
</pre>
</div>
</content>
</entry>
</feed>
