summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-31Merge pull request #351 from ezwiebel/index-remove-directoryCarlos Martín Nieto
Implement git_index_remove_directory in index wrapper
2016-10-20Implement git_index_remove_directory in index wrapperezwiebel
2016-10-03Merge pull request #321 from netnose/checkout-callbacksCarlos Martín Nieto
Checkout callbacks
2016-10-03Merge pull request #322 from calavera/ssh_memory_credentialsCarlos Martín Nieto
Add NewCredSshKeyFromMemory to the credentials helpers.
2016-10-03Merge pull request #347 from geordie/masterCarlos Martín Nieto
Write index before writing index tree in seedTestRepo test helper
2016-10-03Merge pull request #341 from mdaffin/branchiterator-foreach-errorsCarlos Martín Nieto
Add check for ErrIterOver in BranchIterator.ForEach
2016-10-03Merge commit 'refs/pull/331/head' of github.com:libgit2/git2goCarlos Martín Nieto
2016-09-16Write the index before writing the index tree in seedTestRepo test helper funcGeordie Henderson
2016-09-05Add check for ErrIterOver in BranchIterator.ForEachMichael Daffin
The BranchIterator.ForEach currently returns the ErrIterOver error if no error had occured during the iteration. This leads to a rather unhelpful blank error message with the error code -31 when iterating over the branches. This commit adds a check for ErrIterOver at the end of the ForEach method so that the client code only has to worry about checking for nil as apose to checking for the ErrIterOver error.
2016-08-29Removes redundant iteration over check.Alan Johnson
2016-08-28Removed Useless Argument CheckMirko Nosenzo
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-04Fixing issue with error conversion.Alan Johnson
2016-07-24Clone FixMirko Nosenzo
freeCheckoutOpts called twice
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-25Checkout Payload Pointer FixMirko Nosenzo
- Tracking pointer once - Tracking pointer and not struct
2016-06-22Add NewCredSshKeyFromMemory to the credentials helpers.David Calavera
Allowing to use public and private keys from memory without reading them from disk and without using an ssh agent. Signed-off-by: David Calavera <[email protected]>
2016-06-19diff: Add DiffStats StringTravis Lane
This implements git_diff_stats_to_buf which provides the output for git diff --stats.
2016-05-29Checkout Callbacks Payload Check in Callback FunctionsMirko Nosenzo
Checking payloads in callback functions
2016-05-29Checkout Callbacks Payload CheckMirko Nosenzo
Checking payloads before using them
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-05-29Checkout CallbacksMirko Nosenzo
- Added CheckoutNotifyType mapping git_checkout_notify_t - Added CheckoutOpts.NotifyFlags of type CheckoutNotifyType - Added CheckoutNotifyCallback mapping git_checkout_notify_cb - Added CheckoutProgressCallback mapping git_checkout_progress_cb
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-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-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
2016-02-18Merge pull request #282 from ianlancetaylor/masterCarlos Martín Nieto
handles, merge, odb: changes for Go 1.6 pointer passing rules
2016-02-17Use Filemode in TreeBuilder.Insert, and add test coverage for someHan-Wen Nienhuys
TreeBuilder methods.
2016-02-17Upgrade to libgit2 to 0f9d15493d5d8ad4353dd7beed52c9567334f6e5Han-Wen Nienhuys
2016-02-16odb: don't copy bufferIan Lance Taylor