<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src, branch ethomson/diff_file</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>git_diff_file: move `id_abbrev`</title>
<updated>2016-08-03T21:57:37+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-08-03T21:09:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=002c8e29a1bbe7bf5c07c9c26037d4f6a1ac81a6'/>
<id>002c8e29a1bbe7bf5c07c9c26037d4f6a1ac81a6</id>
<content type='text'>
Move `id_abbrev` to a more reasonable place where it packs more nicely
(before anybody starts using it).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move `id_abbrev` to a more reasonable place where it packs more nicely
(before anybody starts using it).
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3865 from libgit2/ethomson/leaks</title>
<updated>2016-08-02T22:43:12+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-08-02T22:43:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=152efee20b74ea261cf8e05410a110687e17376e'/>
<id>152efee20b74ea261cf8e05410a110687e17376e</id>
<content type='text'>
Fix leaks, some warnings and an error</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix leaks, some warnings and an error</pre>
</div>
</content>
</entry>
<entry>
<title>crlf: set a safe crlf default</title>
<updated>2016-07-24T20:10:30+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-07-24T20:10:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=df87648ab87f99a7cc53bdabc8aceb01e6771dac'/>
<id>df87648ab87f99a7cc53bdabc8aceb01e6771dac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>repository: don't cast to `int` for no reason</title>
<updated>2016-07-24T19:49:19+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-07-22T18:02:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=b118f6479d5ceecbc64868583101c8abd356cf3b'/>
<id>b118f6479d5ceecbc64868583101c8abd356cf3b</id>
<content type='text'>
And give it a default so that some compilers don't (unnecessarily)
complain.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And give it a default so that some compilers don't (unnecessarily)
complain.
</pre>
</div>
</content>
</entry>
<entry>
<title>index: cast to avoid warning</title>
<updated>2016-07-24T19:49:19+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-07-22T16:53:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=4aaae9354cd12cdd2658696b2506b02fa584e776'/>
<id>4aaae9354cd12cdd2658696b2506b02fa584e776</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>packbuilder: `size_t` all the things</title>
<updated>2016-07-24T19:49:19+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-07-15T21:18:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=60e15ecd5518f26fa2d18cca9ab22b248596e68c'/>
<id>60e15ecd5518f26fa2d18cca9ab22b248596e68c</id>
<content type='text'>
After 1cd65991, we were passing a pointer to an `unsigned long` to
a function that now expected a pointer to a `size_t`.  These types
differ on 64-bit Windows, which means that we trash the stack.

Use `size_t`s in the packbuilder to avoid this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After 1cd65991, we were passing a pointer to an `unsigned long` to
a function that now expected a pointer to a `size_t`.  These types
differ on 64-bit Windows, which means that we trash the stack.

Use `size_t`s in the packbuilder to avoid this.
</pre>
</div>
</content>
</entry>
<entry>
<title>apply: safety check files that dont end with eol</title>
<updated>2016-07-24T19:49:19+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-07-15T03:32:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=581a4d3942ae5a66933632530fccd65f93ac5e4b'/>
<id>581a4d3942ae5a66933632530fccd65f93ac5e4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>apply: check allocation properly</title>
<updated>2016-07-24T19:49:19+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-07-15T03:04:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=c065f6a1d2b9c7c64646a6c0e65abbb3ca0dc4b1'/>
<id>c065f6a1d2b9c7c64646a6c0e65abbb3ca0dc4b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>apply: compare preimage to image</title>
<updated>2016-07-24T19:49:19+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-07-15T02:59:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=531be3e8c6e8ec08db9798e7837a5abf933cc650'/>
<id>531be3e8c6e8ec08db9798e7837a5abf933cc650</id>
<content type='text'>
Compare the preimage to the image; don't compare the preimage to itself.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compare the preimage to the image; don't compare the preimage to itself.
</pre>
</div>
</content>
</entry>
<entry>
<title>remote: Handle missing config values when deleting a remote</title>
<updated>2016-07-15T17:47:01+00:00</updated>
<author>
<name>David Turner</name>
<email>dturner@twosigma.com</email>
</author>
<published>2016-07-15T17:32:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libgit2.git/commit/?id=d81cb2e405d804d9c39b326d66c6b580b1445eaa'/>
<id>d81cb2e405d804d9c39b326d66c6b580b1445eaa</id>
<content type='text'>
Somehow I ended up with the following in my ~/.gitconfig:
[branch "master"]
remote = origin
merge = master
rebase = true

I assume something went crazy while I was running the git.git tests
some time ago, and that I never noticed until now.

This is not a good configuration, but it shouldn't cause problems. But
it does. Specifically, if you have this in your config, and you
perform the following set of actions:

create a remote
fetch from that remote
create a branch off of the remote master branch called "master"
delete the branch
delete the remote

The remote delete fails with the message "Could not find key
'branch.master.rebase' to delete". This is because it's iterating over
the config entries (including the ones in the global config) and
believes that there is a master branch which must therefore have these
config keys.

https://github.com/libgit2/libgit2/issues/3856
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Somehow I ended up with the following in my ~/.gitconfig:
[branch "master"]
remote = origin
merge = master
rebase = true

I assume something went crazy while I was running the git.git tests
some time ago, and that I never noticed until now.

This is not a good configuration, but it shouldn't cause problems. But
it does. Specifically, if you have this in your config, and you
perform the following set of actions:

create a remote
fetch from that remote
create a branch off of the remote master branch called "master"
delete the branch
delete the remote

The remote delete fails with the message "Could not find key
'branch.master.rebase' to delete". This is because it's iterating over
the config entries (including the ones in the global config) and
believes that there is a master branch which must therefore have these
config keys.

https://github.com/libgit2/libgit2/issues/3856
</pre>
</div>
</content>
</entry>
</feed>
