Update master to latest libgit2 and build statically #362

Merged
carlosmn merged 34 commits from cmn/master-tip-static into master 2017-01-20 16:55:27 -06:00

34 Commits

Author SHA1 Message Date
Carlos Martín Nieto b020c1140a Update the description of the branches in README. 2017-01-20 13:48:39 +00:00
Carlos Martín Nieto 9f4e0a46b6 Update libgit2 to df4dfaad 2017-01-20 13:20:30 +00:00
Carlos Martín Nieto f037074198 Merge remote-tracking branch 'origin/next' 2017-01-20 00:46:34 +00:00
Carlos Martín Nieto 5d0a4c752a Bump vendored libgit2 to ee89941fa 2017-01-09 22:13:18 +00:00
Carlos Martín Nieto a41e2b6644 Update to 0.25-rc1 2016-11-19 15:09:41 +01:00
Carlos Martín Nieto 4eecbd8d44 Merge pull request #338 from libgit2/cmn/variable-subst
Use variable substitution instead of a wrapper script
2016-11-13 19:31:57 +01:00
Carlos Martín Nieto 7f426f2435 Only test against 1.5 and up
Go 1.5 is the first one which supports the variable replacement we're
using for the flags. Any older versions aren't supported by the Go team
now that 1.7 is out, so you should be on one of these versions.
2016-11-01 00:17:51 +01:00
Carlos Martín Nieto 9c5fb973fc Get rid of the with-static.sh script
CGO can perform variable substitution in the directives, so we don't
need to use a script to set up the variables; we can let the go tool do
it for us.
2016-11-01 00:17:51 +01:00
Carlos Martín Nieto 9af9dd3ad7 Merge pull request #354 from libgit2/cmn/panic-threading
Add Feature query support & panic if libgit2 is not thread-aware
2016-11-01 00:16:27 +01:00
Carlos Martín Nieto a37f7f30ff Panic if libgit2 is not thread-aware
Go calling C is inherently multi-threaded. If libgit2 cannot handle
threading, then we're going to crash at some random point. Crash right
at the start so we know what's happening.
2016-10-31 21:14:08 +01:00
Carlos Martín Nieto adb1770ff3 Add Features() to retrieve the compile-time features of libgit2 2016-10-31 21:09:24 +01:00
Carlos Martín Nieto 098cd42070 Merge pull request #353 from libgit2/update-next
Update to libgit2 a051ee3
2016-10-31 20:15:48 +01:00
Carlos Martín Nieto e8062bcadd Update to libgit2 a051ee3 2016-10-31 19:31:43 +01:00
Carlos Martín Nieto 53594d7581 Merge pull request #345 from kdambekalns/commit-message-raw
Add method to fetch raw commit message
2016-10-03 02:54:48 -07:00
Karsten Dambekalns d2b8c99ba7 Add method to fetch raw commit message
The existing `Commit.Message()` returns the trimmed commit message. In some cases
it is important to retrieve the exact commit message, even if it contains surrounding
newlines.

This adds a new `Commit.RawMessage()` to be able to do that.
2016-09-09 15:27:07 +02:00
Carlos Martín Nieto 8eb8fa3725 Also remove a pkg-config directive that snuck in 2016-08-27 21:35:26 +02:00
Carlos Martín Nieto 92fa6357ae Bring back the Makefile from 'next' 2016-08-27 21:11:22 +02:00
Carlos Martín Nieto aadd0c2035 Merge remote-tracking branch 'upstream/master' into next 2016-08-27 21:07:44 +02:00
Carlos Martín Nieto 37d3c2d9ad Update libgit2 to 73dab769
This version reloads the index on checkout, which showed we were not
persisting the updated index to disk and thus would have conflicts on
checkout.
2016-08-05 15:15:22 +02:00
Carlos Martín Nieto 3ed398a78e Merge pull request #328 from navytux/y/odb-type
odb: Expose git_odb_object_type() as OdbObject.Type()
2016-07-24 18:09:12 +02:00
Kirill Smelkov cf7553e72c odb: Expose git_odb_object_type() as OdbObject.Type()
It might be needed when one is writing `git cat-file --batch` equivalent
which has output format

    <sha1> SP <type> SP <size> LF
    <contents> LF
2016-07-19 22:48:52 +03:00
Carlos Martín Nieto 9163ca7d50 Update to 1dc4491 2016-04-23 15:35:22 +02:00
Carlos Martín Nieto 652a14f732 Merge pull request #301 from hansrodtang/next
Add some constants and repository methods.
2016-03-31 04:44:23 -07:00
Hans Rødtang 2be7d7987b Add Repository.IsShallow 2016-03-29 20:42:41 +02:00
Hans Rødtang 726331dfde Add Repository.IsEmpty 2016-03-29 20:42:30 +02:00
Hans Rødtang b99dbb1361 Add Repository.IsHeadUnborn 2016-03-29 20:42:19 +02:00
Hans Rødtang 094bb3767b Add unimplemented diff delta/flag values. 2016-03-29 20:41:46 +02:00
Hans Rødtang 1e8b7ef380 Add "Conflicted" git.Delta and git.Status. 2016-03-29 20:37:22 +02:00
Carlos Martín Nieto 836b6c56be Merge pull request #257 from clns/stash-support
[next] Add stash support
2016-03-17 18:14:30 +01:00
Calin Seciu 71ff6ab0d5 Fix error after updating to latest changes 2016-02-20 14:58:48 +02:00
Calin Seciu c6f394e407 Merge branch 'next' into stash-support 2016-02-20 14:52:57 +02:00
Calin Seciu dc4409793d Remove Untrack() from free() function
https://github.com/libgit2/git2go/pull/257#discussion_r53443211
2016-02-20 14:44:20 +02:00
Calin Seciu 5191254a66 Fix problems based on PR comments
https://github.com/libgit2/git2go/pull/257#discussion_r53432957
https://github.com/libgit2/git2go/pull/257#discussion_r53443418
2016-02-20 14:43:46 +02:00
Calin Seciu d54ea1d6a8 Add stash support 2015-09-21 14:50:57 +03:00