lhchavez
36b0f8ba75
Merge pull request #429 from josharian/cherrypick-commit
...
cherrypick: wrap git_cherrypick_commit
(cherry picked from commit 45097a857c
)
2020-08-16 07:19:09 -07:00
lhchavez
75daa3227d
Merge pull request #423 from josharian/more-annotated-commit
...
merge: add two missing AnnotatedCommit methods
(cherry picked from commit 21d618136f
)
2020-08-16 07:19:09 -07:00
lhchavez
23e13acf73
Merge pull request #400 from ramanenka/git_index_add_frombuffer
...
Add binding for `git_index_add_frombuffer`
(cherry picked from commit 06764f48dc
)
2020-08-16 07:19:09 -07:00
Richard Burke
5acdcfaf86
Remove Version from RevertOptions
...
Version is defaulted to GIT_REVERT_OPTIONS_VERSION
(cherry picked from commit 4bca045e5a
)
2020-08-16 07:19:09 -07:00
Richard Burke
0b5abad959
Add revert functionality
...
Closes #436
(cherry picked from commit 30c3d0ffe2
)
2020-08-16 07:19:09 -07:00
lhchavez
37230d2697
Free() the copies of repository.LookupXxx()
...
`repository.LookupXxx()` allocate new go `Object`s that have a reference
to a `C.git_object`. Those are then duplicated with `git_object_dup()`,
so the original `Object`s linger unnecessarily until the Go GC kicks in.
This change explicitly calls `Free()` on the originals to avoid
unnecessary accumulation of garbage.
(cherry picked from commit 2bb5930733
)
2020-08-16 07:19:09 -07:00
lhchavez
b6aa16143b
Update CI configuration
...
This change:
* Updates the GitHub actions so that they run different commands for the
dynamic and static flavors of libgit2.
* Updates the .travis.yml file so that it does roughly the same as the
GitHub actions.
* Adds the release-* branches to the CI configurations.
(cherry picked from commit 26edffd5f5
)
2020-08-16 07:19:09 -07:00
lhchavez
15641667bd
Merge pull request #520 from libgit2/actions
...
Setup CI via Actions
(cherry picked from commit f21ecd9e74
)
2020-08-16 07:19:09 -07:00
lhchavez
5bfa93a8dd
Merge pull request #523 from josharian/diff-stringers
...
make Delta and DiffLineType stringers
(cherry picked from commit 11506ab070
)
2020-08-16 07:19:09 -07:00
lhchavez
2ce0cec363
Merge pull request #524 from josharian/doc-params
...
provide param names in DiffForEachFileCallback
(cherry picked from commit 917d8dcb9e
)
2020-08-16 07:19:09 -07:00
lhchavez
61fdd76c76
Merge pull request #503 from jonEbird/static-build-script-cleanup
...
script/build-libgit2-static.sh: correctly set ROOT
(cherry picked from commit aa802a90db
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
e888805c2b
Merge pull request #506 from takuji/git_commit_message_encoding
...
Add git_commit_message_encoding support
(cherry picked from commit b2e2b2f71b
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
bee1068871
Merge pull request #512 from codeocean/diff-to-buf
...
Add Diff.ToBuf wrapping git_diff_to_buf
(cherry picked from commit 4fa9349942
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
544af2b39a
Merge pull request #448 ftrom lhchavez/mempack
...
Add support for mempack
(cherry picked from commit 2f91268f74
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
c1c2b5a730
Merge pull request #466 from lhchavez/repository-create_commit_from_ids
...
Add support for CreateCommitFromIds
(cherry picked from commit 8766f9f36c
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
9fd0d987ae
Merge pull request #477 from lhchavez/patch-1
...
Add support for Go 1.11 modules
(cherry picked from commit 2609f4c6f2
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
a13d27e9c0
Merge pull request #475 from lhchavez/self-contained-build
...
Improve the static build script
(cherry picked from commit b30b050c9c
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
fedb5b8e68
Merge pull request #476 from lhchavez/clean-up-leaked-dir
...
Clean up one leaked temporary directory
(cherry picked from commit e93f34cf18
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
7b1c424572
Merge pull request #420 from josharian/rebase-operation-type-stringer
...
Add RebaseOperationReword, and make RebaseOperationType a stringer
(cherry picked from commit 7ae106611c
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
a07879739f
Merge pull request #445 from rmg/exclusive-pkg-config
...
static: use pkg-config exclusively when using it
(cherry picked from commit bcf325244c
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
d314b459b8
Merge pull request #465 from lhchavez/packbuilder-insert_from_walk
...
Add support for Packbuilder.InsertFromWalk()
(cherry picked from commit b51a90c133
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
eb38aaaeee
Merge pull request #463 from Nivl/patch-1
...
Add index.Clear() to clear the index object
(cherry picked from commit c27981c283
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
97d05a1e4c
Merge pull request #432 from josharian/simplify-oid
...
git: simplify some Oid methods
(cherry picked from commit c740e1d83d
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
13d16e7ac5
Merge pull request #447 from walkenzoy/master
...
git2go: small fixes to odb module
(cherry picked from commit fc1230ba16
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
10ce505588
Merge pull request #425 from josharian/more-merge-file-flags
...
merge: add missing MergeFileFlag constants
(cherry picked from commit e319b9427f
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
da10fee49e
Merge pull request #424 from josharian/sigdoc
...
signature: improve Signature.Offset docs
(cherry picked from commit 7197faee79
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
c74ce46055
Merge pull request #470 from lhchavez/fix-odbreadstream-read
...
Return io.EOF on OdbReadStream.Read()
(cherry picked from commit 7e9128bd58
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
13d27a4f62
Merge pull request #468 from wmedlar/patch-1
...
Fix typo in constant name
(cherry picked from commit 8b368063e9
)
2020-08-16 07:19:09 -07:00
Carlos Martín Nieto
ca9f5b6523
Merge pull request #443 from walkenzoy/master
...
git2go: fix reference iterator leak
(cherry picked from commit 14280de4da
)
2020-08-16 07:19:09 -07:00
lhchavez
6cc7d3dc6a
Merge pull request #526 from dbolkensteyn/v27
...
Fixes #513 - Segfault during tree walk
2020-02-16 07:31:32 -08:00
Carlos Martín Nieto
6ee3a5f589
Merge pull request #529 from libgit2/cmn/bump-libgit2-27
...
Update libgit2 to v0.27.10
2019-12-10 22:41:57 +01:00
Carlos Martín Nieto
f0ad5b44b9
Update libgit2 to v0.27.10
2019-12-10 21:36:08 +00:00
Dinesh Bolkensteyn
53ee1f6e9a
Similar to #513 Fix potential segfault on Tag objects
2019-11-17 17:41:56 +01:00
Dinesh Bolkensteyn
75a20e5aeb
Fixes #513 - Segfault during tree walk
2019-11-17 09:19:36 +01:00
Carlos Martín Nieto
94786f9c8f
Merge pull request #518 from libgit2/cmn/update-27
...
Update vendored libgit2 to v0.27.9
2019-08-13 19:36:01 +02:00
Carlos Martín Nieto
43550d0b7f
Update vendored libgit2 to v0.27.9
2019-08-13 19:24:57 +02:00
Carlos Martín Nieto
ecaeb7a21d
Merge pull request #472 from libgit2/cmn/bump-v27
...
Update vendored libgit2 to v0.27.7
2019-01-04 13:40:18 +00:00
Carlos Martín Nieto
e209475ae0
Update vendored libgit2 to v0.27.7
2019-01-04 13:25:56 +00:00
Carlos Martín Nieto
290d16a225
Merge pull request #459 from libgit2/cmn/bump-v27
...
Update vendored libgit2 to v0.27.5
2018-10-07 18:59:15 +02:00
Carlos Martín Nieto
bde7731d51
Update vendored libgit2 to v0.27.5
2018-10-07 18:48:41 +02:00
Carlos Martín Nieto
c0c29489d9
Merge pull request #450 from libgit2/cmn/bump-libgit2
...
Bump vendored libgit2 to v0.27.4
2018-08-08 11:35:01 +02:00
Carlos Martín Nieto
7696f18fed
Bump vendored libgit2 to v0.27.4
2018-08-08 11:04:32 +02:00
Carlos Martín Nieto
9abc0506da
Merge pull request #441 from libgit2/cmn/update-v27-1
...
vendor: update libgit2 to v0.27.1
2018-05-29 20:57:54 +02:00
Carlos Martín Nieto
ef79809066
vendor: update libgit2 to v0.27.1
2018-05-29 20:21:28 +02:00
Carlos Martín Nieto
1381380f34
travis: let yaml know these strings are strings
2018-03-26 12:58:53 +02:00
Carlos Martín Nieto
b479bd1463
Merge pull request #438 from libgit2/cmn/bump-27
...
vendor: update libgit2 to v0.27.0
2018-03-26 12:50:50 +02:00
Carlos Martín Nieto
bcb303ad17
travis: build against Go 1.10
2018-03-26 12:35:03 +02:00
Carlos Martín Nieto
304d67b0fb
vendor: update libgit2 to v0.27.0
2018-03-26 12:31:09 +02:00
Carlos Martín Nieto
ec48b0a307
Merge pull request #430 from sprohaska/pr/keep-alive
...
tree: keep tree receiver alive as long as dependent entry is used
2018-03-11 14:26:00 +01:00
Carlos Martín Nieto
127b998807
Merge pull request #431 from josharian/refdocs
...
reference: minor doc improvements
2018-03-11 14:21:25 +01:00