Carlos Martín Nieto
3cc2126300
Merge pull request #319 from netnose/remote-refinements
...
Remote Refinements
2016-10-31 20:04:35 +01:00
Carlos Martín Nieto
42a90d4e68
Merge pull request #351 from ezwiebel/index-remove-directory
...
Implement git_index_remove_directory in index wrapper
2016-10-31 20:03:05 +01:00
Carlos Martín Nieto
e8062bcadd
Update to libgit2 a051ee3
2016-10-31 19:31:43 +01:00
ezwiebel
c18c8693fe
Implement git_index_remove_directory in index wrapper
2016-10-20 15:49:24 +11:00
Mirko Nosenzo
4567e4f7fa
Merge remote-tracking branch 'upstream/v24' into remote-refinements
2016-10-08 11:33:56 +02:00
Mirko Nosenzo
717a47f754
Remote Rename Fix
...
Problem string array is returned if no error is occurred
2016-10-08 11:18:07 +02: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
Carlos Martín Nieto
e9668545c9
Merge pull request #321 from netnose/checkout-callbacks
...
Checkout callbacks
2016-10-03 02:53:29 -07:00
Carlos Martín Nieto
2209188637
Merge pull request #322 from calavera/ssh_memory_credentials
...
Add NewCredSshKeyFromMemory to the credentials helpers.
2016-10-03 02:39:58 -07:00
Carlos Martín Nieto
a3c2ac18dc
Merge pull request #347 from geordie/master
...
Write index before writing index tree in seedTestRepo test helper
2016-10-03 02:37:05 -07:00
Carlos Martín Nieto
c94904ea37
Merge pull request #341 from mdaffin/branchiterator-foreach-errors
...
Add check for ErrIterOver in BranchIterator.ForEach
2016-10-03 02:31:58 -07:00
Carlos Martín Nieto
ddc1515c8e
Merge commit 'refs/pull/331/head' of github.com:libgit2/git2go
2016-10-03 11:28:38 +02:00
Mark Karpeles
b829eb1edb
odb & refdb: make New*BackendFromC take unsafe.Pointer as argument allowing argument to be set from different package
2016-09-30 23:00:20 +09:00
Geordie Henderson
a16e24a99e
Write the index before writing the index tree in seedTestRepo test helper func
2016-09-16 21:49:54 -07:00
ezwiebel
03e10c5639
Fix reference bug introduced with RebaseOptions implementation
2016-09-14 14:42:58 +10:00
ezwiebel
adc3a4bd89
Add DefaultRebaseOptions() [git_rebase_init_options(GIT_REBASE_OPTIONS_VERSION)] service to wrapper
2016-09-13 16:03:16 +10:00
ezwiebel
e00b0831aa
Add RebaseOpen() service to wrapper
2016-09-12 15:58:53 +10: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
Michael Daffin
74bc3c6242
Add check for ErrIterOver in BranchIterator.ForEach
...
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-09-05 15:56:09 +01:00
Alan Johnson
208cdaef76
Removes redundant iteration over check.
2016-08-29 09:10:56 -04:00
Mirko Nosenzo
6ffad323ba
Removed Useless Argument Check
2016-08-28 11:21:10 +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
241aa34d83
Merge pull request #336 from libgit2/cmn/test-parallel
...
Run the tests in parallel
2016-08-27 21:03:29 +02:00
Carlos Martín Nieto
e1467c0641
Merge pull request #337 from libgit2/cmn/go16-blob-pointer
...
Work around the finnicky 1.6 CGo pointer checks
2016-08-27 21:02:47 +02:00
Carlos Martín Nieto
5c678353fa
Add Go 1.7 to the build list
2016-08-27 20:52:07 +02:00
Carlos Martín Nieto
b41e4c4ac7
Work around Go 1.6's CGo pointer check
...
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-27 20:51:13 +02:00
Carlos Martín Nieto
b5d213c2c1
Remove unecessary copy
2016-08-27 20:47:41 +02:00
Itamar Turner-Trauring
3c1ba8c40e
Add test for slice-to-slice and GCo pointer detection
2016-08-27 20:47:01 +02:00
Carlos Martín Nieto
0703dae9b2
Merge pull request #320 from netnose/enum-mappings
...
Enum Mappings
2016-08-27 19:27:10 +02:00
Carlos Martín Nieto
e55c00eca7
Run the tests in parallel
...
This saves about 1s, or 1/3 of the test runtime. The linking is still
much slower, but this we can control.
2016-08-27 19:21:05 +02:00
ezwiebel
b2d71f4fbc
Fix Free() service in Rebase wrapper
2016-08-08 10:49:40 +10:00
ezwiebel
193b21398b
Add CurrentOperationIndex() and OperationAt(index uint) services to wrapper
2016-08-07 18:09:33 +10:00
ezwiebel
e1f0949740
Add Abort() service to wrapper
2016-08-07 17:48:18 +10:00
ezwiebel
a62a8c3b92
Add operation OperationCount() service and enrich UTs
2016-08-07 17:48:18 +10:00
ezwiebel
b1a9de8037
Initial rebase wrapper version
2016-08-07 17:48:18 +10:00
Carlos Martín Nieto
1670c49c7e
Merge pull request #323 from Coderlane/diff_stats_string
...
Add DiffStats String
2016-08-05 16:23:34 +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
Alan Johnson
380684bb10
Fixing issue with error conversion.
2016-08-04 09:43:44 -04: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
Mirko Nosenzo
aa7dfab1cf
Clone Fix
...
freeCheckoutOpts called twice
2016-07-24 14:20: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
Mirko Nosenzo
c6b94a160e
Returning Problems on Remote Rename
...
Problems can be returned as string array on RemoteCollection Rename
2016-07-07 12:01:24 +02:00
Carlos Martín Nieto
f720800b50
Merge pull request #318 from netnose/tag-remove
...
Tag Remove
2016-07-06 23:54:40 +02:00
Carlos Martín Nieto
30cffcb526
Merge pull request #317 from netnose/reset-default
...
ResetDefaultToCommit maps git_reset_default
2016-07-06 23:53:43 +02:00
Mirko Nosenzo
6fa4c8ea15
Checkout Payload Pointer Fix
...
- Tracking pointer once
- Tracking pointer and not struct
2016-06-25 11:39:44 +02:00
David Calavera
a2f93e91d2
Add NewCredSshKeyFromMemory to the credentials helpers.
...
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 <david.calavera@gmail.com>
2016-06-22 14:50:29 -07:00
Travis Lane
981538924c
diff: Add DiffStats String
...
This implements git_diff_stats_to_buf which provides the output for
git diff --stats.
2016-06-19 15:19:39 -07:00
Mirko Nosenzo
18802c24e3
Checkout Callbacks Payload Check in Callback Functions
...
Checking payloads in callback functions
2016-05-29 15:27:48 +02:00