<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/include, branch ethomson/treebuilder_docs</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>docs: git_treebuilder_insert validates entries</title>
<updated>2017-12-31T15:25:42+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-12-31T15:25:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=346c1b169d0c15adeef496e24db6ac9801b4283d'/>
<id>346c1b169d0c15adeef496e24db6ac9801b4283d</id>
<content type='text'>
The documentation for `git_treebuilder_insert` erroneously states that
we do not validate that the entry being inserted exists.  We do, as of
https://github.com/libgit2/libgit2/pull/3633.  Update the documentation
to reflect the new reality.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The documentation for `git_treebuilder_insert` erroneously states that
we do not validate that the entry being inserted exists.  We do, as of
https://github.com/libgit2/libgit2/pull/3633.  Update the documentation
to reflect the new reality.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4159 from richardipsum/notes-commit</title>
<updated>2017-12-30T19:09:43+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-12-30T19:09:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d621024508d8264ad63df683dfe1327224eb7143'/>
<id>d621024508d8264ad63df683dfe1327224eb7143</id>
<content type='text'>
Support using notes via a commit rather than a ref</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support using notes via a commit rather than a ref</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4318 from Uncommon/amend_status</title>
<updated>2017-12-01T11:45:53+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-12-01T11:45:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=429bb3575474a3d25ee1c9814612d8d01b3378e8'/>
<id>429bb3575474a3d25ee1c9814612d8d01b3378e8</id>
<content type='text'>
Add git_status_file_at</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add git_status_file_at</pre>
</div>
</content>
</entry>
<entry>
<title>status: Add a baseline field to git_status_options for comparing to trees other than HEAD</title>
<updated>2017-11-30T14:59:45+00:00</updated>
<author>
<name>David Catmull</name>
<email>dtcatmull@verisk.com</email>
</author>
<published>2017-07-21T23:07:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=4ccacdc8ec7524065b0d78a10c9deccd04bcbda7'/>
<id>4ccacdc8ec7524065b0d78a10c9deccd04bcbda7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Include git2/worktree.h in git2.h</title>
<updated>2017-11-25T10:18:03+00:00</updated>
<author>
<name>apnadkarni</name>
<email>apnmbx-wits@yahoo.com</email>
</author>
<published>2017-11-25T10:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d439fb20bca3147582435d94b31f92e120afa267'/>
<id>d439fb20bca3147582435d94b31f92e120afa267</id>
<content type='text'>
I'm not sure if worktree.h was intentionally left out of git2.h. Looks like an oversight since it is in fact documented.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm not sure if worktree.h was intentionally left out of git2.h. Looks like an oversight since it is in fact documented.</pre>
</div>
</content>
</entry>
<entry>
<title>diff: expose the "indent heuristic" in the diff options</title>
<updated>2017-11-19T07:20:18+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2017-10-29T14:05:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7e3faf58cbafd1115d0f4bf6e5a2b422f9ef78f1'/>
<id>7e3faf58cbafd1115d0f4bf6e5a2b422f9ef78f1</id>
<content type='text'>
We default to off, but we might want to consider changing `GIT_DIFF_NORMAL` to
include it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We default to off, but we might want to consider changing `GIT_DIFF_NORMAL` to
include it.
</pre>
</div>
</content>
</entry>
<entry>
<title>signature: distinguish +0000 and -0000 UTC offsets</title>
<updated>2017-11-12T12:01:10+00:00</updated>
<author>
<name>Henry Kleynhans</name>
<email>hkleynhans@bloomberg.net</email>
</author>
<published>2017-11-12T10:56:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=f063dafb1da60625da76a1ea6975a121969cb630'/>
<id>f063dafb1da60625da76a1ea6975a121969cb630</id>
<content type='text'>
Git considers '-0000' a valid offset for signature lines.  They need to
be treated as _not_ equal to a '+0000' signature offset.  Parsing a
signature line stores the offset in a signed integer which does not
distinguish between `+0` and `-0`.

This patch adds an additional flag `sign` to the `git_time` in the
`signature` object which is populated with the sign of the offset.  In
addition to exposing this information to the user, this information is
also used to compare signatures.

/cc @pks-t @ethomson
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Git considers '-0000' a valid offset for signature lines.  They need to
be treated as _not_ equal to a '+0000' signature offset.  Parsing a
signature line stores the offset in a signed integer which does not
distinguish between `+0` and `-0`.

This patch adds an additional flag `sign` to the `git_time` in the
`signature` object which is populated with the sign of the offset.  In
addition to exposing this information to the user, this information is
also used to compare signatures.

/cc @pks-t @ethomson
</pre>
</div>
</content>
</entry>
<entry>
<title>describe.h: fix spelling in comments</title>
<updated>2017-11-10T23:19:39+00:00</updated>
<author>
<name>Ken Dreyer</name>
<email>kdreyer@redhat.com</email>
</author>
<published>2017-11-10T23:19:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=38169764fd1e0f32b2cdc515e80e0b0050b569e9'/>
<id>38169764fd1e0f32b2cdc515e80e0b0050b569e9</id>
<content type='text'>
optios -&gt; options
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
optios -&gt; options
</pre>
</div>
</content>
</entry>
<entry>
<title>config: pass repository when opening config files</title>
<updated>2017-10-09T09:19:42+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2017-05-23T09:51:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=529e873cef18ec98246d32d28c7a0b0e3467fe27'/>
<id>529e873cef18ec98246d32d28c7a0b0e3467fe27</id>
<content type='text'>
Our current configuration logic is completely oblivious of any
repository, but only cares for actual file paths. Unfortunately, we are
forced to break this assumption by the introduction of conditional
includes, which are evaluated in the context of a repository. Right now,
only one conditional exists with "gitdir:" -- it will only include the
configuration if the current repository's git directory matches the
value passed to "gitdir:".

To support these conditionals, we have to break our API and make the
repository available when opening a configuration file. This commit
extends the `open` call of configuration backends to include another
repository and adjusts existing code to have it available. This includes
the user-visible functions `git_config_add_file_ondisk` and
`git_config_add_backend`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Our current configuration logic is completely oblivious of any
repository, but only cares for actual file paths. Unfortunately, we are
forced to break this assumption by the introduction of conditional
includes, which are evaluated in the context of a repository. Right now,
only one conditional exists with "gitdir:" -- it will only include the
configuration if the current repository's git directory matches the
value passed to "gitdir:".

To support these conditionals, we have to break our API and make the
repository available when opening a configuration file. This commit
extends the `open` call of configuration backends to include another
repository and adjusts existing code to have it available. This includes
the user-visible functions `git_config_add_file_ondisk` and
`git_config_add_backend`.
</pre>
</div>
</content>
</entry>
<entry>
<title>repository: constify several repo parameters for getters</title>
<updated>2017-10-09T09:19:42+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2017-05-23T10:56:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d02cf564a012ea8f6d4d4fd70a3102b94058f759'/>
<id>d02cf564a012ea8f6d4d4fd70a3102b94058f759</id>
<content type='text'>
Several functions to retrieve variables from a repository only return
immutable values, which allows us to actually constify the passed-in
repository parameter. Do so to help a later patch, which will only have
access to a constant repository.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several functions to retrieve variables from a repository only return
immutable values, which allows us to actually constify the passed-in
repository parameter. Do so to help a later patch, which will only have
access to a constant repository.
</pre>
</div>
</content>
</entry>
</feed>
