summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-31Merge pull request #353 from libgit2/update-nextCarlos Martín Nieto
Update to libgit2 a051ee3
2016-10-31Update to libgit2 a051ee3Carlos Martín Nieto
2016-10-03Merge pull request #345 from kdambekalns/commit-message-rawCarlos Martín Nieto
Add method to fetch raw commit message
2016-09-09Add method to fetch raw commit messageKarsten Dambekalns
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-08-27Also remove a pkg-config directive that snuck inCarlos Martín Nieto
2016-08-27Bring back the Makefile from 'next'Carlos Martín Nieto
2016-08-27Merge remote-tracking branch 'upstream/master' into nextCarlos Martín Nieto
2016-08-27Merge pull request #336 from libgit2/cmn/test-parallelCarlos Martín Nieto
Run the tests in parallel
2016-08-27Merge pull request #337 from libgit2/cmn/go16-blob-pointerCarlos Martín Nieto
Work around the finnicky 1.6 CGo pointer checks
2016-08-27Add Go 1.7 to the build listCarlos Martín Nieto
2016-08-27Work around Go 1.6's CGo pointer checkCarlos Martín Nieto
It depends heavily on the expression at the call site an whether it can figure out whether we're using a slice or not, so provid an incantation that does this.
2016-08-27Remove unecessary copyCarlos Martín Nieto
2016-08-27Add test for slice-to-slice and GCo pointer detectionItamar Turner-Trauring
2016-08-27Merge pull request #320 from netnose/enum-mappingsCarlos Martín Nieto
Enum Mappings
2016-08-27Run the tests in parallelCarlos Martín Nieto
This saves about 1s, or 1/3 of the test runtime. The linking is still much slower, but this we can control.
2016-08-05Merge pull request #323 from Coderlane/diff_stats_stringCarlos Martín Nieto
Add DiffStats String
2016-08-05Update libgit2 to 73dab769Carlos Martín Nieto
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-07-24Merge pull request #328 from navytux/y/odb-typeCarlos Martín Nieto
odb: Expose git_odb_object_type() as OdbObject.Type()
2016-07-19odb: Expose git_odb_object_type() as OdbObject.Type()Kirill Smelkov
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-06Merge pull request #318 from netnose/tag-removeCarlos Martín Nieto
Tag Remove
2016-07-06Merge pull request #317 from netnose/reset-defaultCarlos Martín Nieto
ResetDefaultToCommit maps git_reset_default
2016-06-19diff: Add DiffStats StringTravis Lane
This implements git_diff_stats_to_buf which provides the output for git diff --stats.
2016-05-29StatusConflicted maps GIT_STATUS_CONFLICTEDMirko Nosenzo
Added support for file in conflicted status
2016-05-29BranchAll maps GIT_BRANCH_ALLMirko Nosenzo
Added support to All Branch Iteration and Lookup
2016-05-29Tag RemoveMirko Nosenzo
Added support for removal of a Tag
2016-05-29ResetDefaultToCommit maps git_reset_defaultMirko Nosenzo
Added support for default reset behavior
2016-04-27Error out if we detect an incompatible libgit2 versionCarlos Martín Nieto
The master version supports only v0.24 so let's enforce that via the compiler.
2016-04-23Update to 1dc4491Carlos Martín Nieto
2016-03-31Merge pull request #301 from hansrodtang/nextCarlos Martín Nieto
Add some constants and repository methods.
2016-03-29Add Repository.IsShallowHans Rødtang
2016-03-29Add Repository.IsEmptyHans Rødtang
2016-03-29Add Repository.IsHeadUnbornHans Rødtang
2016-03-29Add unimplemented diff delta/flag values.Hans Rødtang
2016-03-29Add "Conflicted" git.Delta and git.Status.Hans Rødtang
2016-03-17Merge pull request #257 from clns/stash-supportCarlos Martín Nieto
[next] Add stash support
2016-03-11Merge pull request #298 from hirochachacha/add_git_diff_tree_to_indexCarlos Martín Nieto
Add git_diff_tree_to_index
2016-03-11add DiffTreeToIndexHiroshi Ioka
This is equivalent to `git diff --cached <treeish` or `diff --cached`.
2016-03-07Update libgit2 version to install on Travis to 24Carlos Martín Nieto
2016-03-07Merge branch 'next'Carlos Martín Nieto
2016-03-07Update to 785d8cCarlos Martín Nieto
2016-02-20Fix error after updating to latest changesCalin Seciu
2016-02-20Merge branch 'next' into stash-supportCalin Seciu
2016-02-20Remove Untrack() from free() functionCalin Seciu
https://github.com/libgit2/git2go/pull/257#discussion_r53443211
2016-02-20Fix problems based on PR commentsCalin Seciu
https://github.com/libgit2/git2go/pull/257#discussion_r53432957 https://github.com/libgit2/git2go/pull/257#discussion_r53443418
2016-02-19Update vendored libgit2Carlos Martín Nieto
2016-02-18Merge branch 'master' into nextCarlos Martín Nieto
2016-02-18Merge pull request #296 from libgit2/cmn/track-real-pointersCarlos Martín Nieto
handles: use real pointers to keep track of handles
2016-02-18handles: use real pointers to keep track of handlesCarlos Martín Nieto
With the change to 1.6 rules, we couldn't use the Go pointers, so we went with casting the list indices into pointers. The runtime does not like this, however. It will sometimes detect that we have a pointer with a very small value and consider it an invalid pointer, bringing down the application with it. Work around that by asking libc for the smallest amount of memory it'll give us so we have an actual allocated pointer to use. We then use this pointer value as the key in our map to find the Go object we're tracking.
2016-02-18Merge branch 'master' into nextCarlos Martín Nieto
2016-02-18Merge commit 'refs/pull/285/head' of github.com:libgit2/git2go into nextCarlos Martín Nieto