lhchavez
75c5e41422
Merge pull request #527 from dbolkensteyn/master
...
Fixes #513 - Segfault during tree walk
2020-02-12 17:06:40 -08:00
lhchavez
11506ab070
Merge pull request #523 from josharian/diff-stringers
...
make Delta and DiffLineType stringers
2020-02-12 17:03:52 -08:00
lhchavez
917d8dcb9e
Merge pull request #524 from josharian/doc-params
...
provide param names in DiffForEachFileCallback
2020-02-12 17:00:02 -08:00
lhchavez
aa802a90db
Merge pull request #503 from jonEbird/static-build-script-cleanup
...
script/build-libgit2-static.sh: correctly set ROOT
2020-02-12 16:57:53 -08:00
Carlos Martín Nieto
e2d039017f
Merge pull request #515 from Nivl/patch-1
...
fix invalid guard forcing v27 instead of v28
2020-02-12 13:32:51 +01:00
Carlos Martín Nieto
ba1b5f0c23
Merge pull request #528 from libgit2/cmn/bump-libgit2
...
Bump libgit2 to 6777db8e83
2019-12-10 23:41:38 +01:00
Carlos Martín Nieto
c5159e624e
credentials: unconfuse Go about the type
...
For some reason cgo thinks the `credtype` field does not exist in `git_cred` so
let's put it into the C code.
2019-12-10 22:33:00 +00:00
Carlos Martín Nieto
ce19fa064f
travis: update versions of Go to be tested
2019-12-10 22:20:20 +00:00
Carlos Martín Nieto
97e6392d3a
Adjust to libgit2 changes
2019-12-10 22:15:32 +00:00
Carlos Martín Nieto
790b3d2ac0
Makefile: disable test caching
...
This does not work well when you're changing C stuff underneath.
2019-12-10 22:15:09 +00:00
Carlos Martín Nieto
93a1ee401f
Bump libgit2 to 6777db8e83
2019-12-10 21:28:24 +00:00
Dinesh Bolkensteyn
5c79683685
Similar to #513 Fix potential segfault on Tag objects
2019-11-17 17:41:43 +01:00
Dinesh Bolkensteyn
bf289c8b36
Fixes #513 - Segfault during tree walk
2019-11-17 17:21:57 +01:00
Josh Bleecher Snyder
79b2cb6ca1
provide param names in DiffForEachFileCallback
...
Without a parameter name, the float64 param is pretty inscrutable.
2019-08-27 10:23:37 -07:00
Josh Bleecher Snyder
3849c7f52a
make Delta and DiffLineType stringers
2019-08-27 10:02:12 -07:00
Carlos Martín Nieto
a5b3de11ae
submodule
2019-08-15 09:42:58 +02:00
Carlos Martín Nieto
26c983c3a2
Setup CI via Actions
2019-08-15 09:38:02 +02:00
Carlos Martín Nieto
37e5b53f74
Merge pull request #519 from libgit2/cmn/update-libgit2
...
Update vendored libgit2 to 08cfa43d0e1a921
2019-08-13 20:28:10 +02:00
Carlos Martín Nieto
57ab6bc351
script: tell libgit2 to use the builtin regex backend
2019-08-13 20:15:01 +02:00
Carlos Martín Nieto
b7eeb4f405
Update vendored libgit2 to 08cfa43d0e1a921
2019-08-13 19:30:16 +02:00
Melvin
5cdcbf1607
fix invalid guard forcing v27 instead of v28
2019-06-19 10:48:37 -07:00
Carlos Martín Nieto
b2e2b2f71b
Merge pull request #506 from takuji/git_commit_message_encoding
...
Add git_commit_message_encoding support
2019-06-18 11:39:25 +02:00
Carlos Martín Nieto
4fa9349942
Merge pull request #512 from codeocean/diff-to-buf
...
Add Diff.ToBuf wrapping git_diff_to_buf
2019-06-18 11:33:28 +02:00
Segev Finer
ad02c37e6d
Add Diff.ToBuf wrapping git_diff_to_buf
2019-05-29 18:00:16 +03:00
Takuji Shimokawa
fe0f562cc0
Add Commit.MessageEncoding() method.
2019-05-10 20:31:01 +09:00
Jon Miller
13090d85b4
script/build-libgit2-static.sh: correctly set ROOT
...
The ROOT variable is not being set correctly. Need to use dirname against
$0 as well as only go up one directory instead of two.
2019-05-07 11:36:34 -04:00
Carlos Martín Nieto
bf1e8a4338
Merge pull request #479 from lhchavez/uprev-libgit2
...
Uprev vendored libgit2 to v.0.28
2019-02-15 14:26:37 +01:00
lhchavez
5fda6dd901
Uprev vendored libgit2 to v0.28
...
New version is here!
2019-02-11 03:57:50 +00:00
Carlos Martín Nieto
2f91268f74
Merge pull request #448 from lhchavez/mempack
...
Add support for mempack
2019-01-15 20:46:54 +01:00
Carlos Martín Nieto
f4ea2a561d
Keep odb alive when adding mempack
2019-01-15 20:28:36 +01:00
Carlos Martín Nieto
8766f9f36c
Merge pull request #466 from lhchavez/repository-create_commit_from_ids
...
Add support for CreateCommitFromIds
2019-01-08 09:30:36 +00:00
lhchavez
6d67bde74a
Merge remote-tracking branch 'upstream/master' into repository-create_commit_from_ids
2019-01-08 02:51:21 +00:00
lhchavez
35518c78df
Keeping the tree alive
2019-01-08 02:50:42 +00:00
lhchavez
f505e39c9e
Add a test and some comments as to the ugly pointer arithmetic
2019-01-08 02:50:25 +00:00
lhchavez
a2c93a0bcf
Addressed review feedback and added a test
2019-01-08 02:45:04 +00:00
lhchavez
b609c04b68
Merge remote-tracking branch 'upstream/master' into mempack
2019-01-08 02:01:44 +00:00
Carlos Martín Nieto
2609f4c6f2
Merge pull request #477 from lhchavez/patch-1
...
Add support for Go 1.11 modules
2019-01-07 16:00:59 +00:00
Carlos Martín Nieto
b30b050c9c
Merge pull request #475 from lhchavez/self-contained-build
...
Improve the static build script
2019-01-07 14:02:51 +00:00
Carlos Martín Nieto
e93f34cf18
Merge pull request #476 from lhchavez/clean-up-leaked-dir
...
Clean up one leaked temporary directory
2019-01-07 12:33:43 +00:00
lhchavez
30c57ff09e
Add support for Go 1.11 modules
...
This change adds a `go.mod` file. An empty file is sufficient since this
project has no external dependencies. For people that want to use the static
version of libgit2, this module can be vendored and the following can be added
to their `go.mod` file:
replace github.com/libgit2/git2go => ./vendor/github.com/libgit2/git2go
2019-01-06 07:34:50 -08:00
lhchavez
e9856f2c38
Clean up one leaked temporary directory
...
A `defer cleanupTestRepo()` was missing.
2019-01-05 22:41:35 +00:00
lhchavez
f3c487966d
Improve the static build script
...
This change:
* Uses the installed version of both the library and the pkgconfig file,
which fixes path resolution on Ubuntu Xenial.
* Uses quoting liberally so that paths with spaces in them are correctly
handled.
* Moves the build+install directories to static-build/ in the git2go
repository to avoid having a dirty vendor/libgit2 checkout.
2019-01-05 20:28:35 +00:00
Carlos Martín Nieto
7ae106611c
Merge pull request #420 from josharian/rebase-operation-type-stringer
...
Add RebaseOperationReword, and make RebaseOperationType a stringer
2019-01-05 11:05:44 +00:00
Carlos Martín Nieto
fb438dbf9a
Merge pull request #474 from libgit2/cmn/deprecated-names
...
Use git_object_t instead of deprecated git_otype
2019-01-05 11:04:03 +00:00
Carlos Martín Nieto
ee6dff2f8e
Use git_object_t instead of deprecated git_otype
2019-01-05 10:48:42 +00:00
Carlos Martín Nieto
b06a2a6900
Merge pull request #471 from libgit2/cmn/bump-libgit2
...
Bump vendored libgit2 to fba70a9d5f
2019-01-04 13:35:12 +00:00
Carlos Martín Nieto
f969cc900d
Bump vendored libgit2 to fba70a9d5f
...
This includes updating the `Index.WriteTreeTo` test as it was abusing an
oversight of the object creation safety checks and creating a tree referencing
a non-existent blob. Instead we update it to the primary purpose of this method
which is to write into a repository from an unattached index.
2019-01-04 13:18:54 +00:00
Carlos Martín Nieto
bcf325244c
Merge pull request #445 from rmg/exclusive-pkg-config
...
static: use pkg-config exclusively when using it
2019-01-04 12:18:20 +00:00
Carlos Martín Nieto
b51a90c133
Merge pull request #465 from lhchavez/packbuilder-insert_from_walk
...
Add support for Packbuilder.InsertFromWalk()
2019-01-04 12:11:05 +00:00
Carlos Martín Nieto
c27981c283
Merge pull request #463 from Nivl/patch-1
...
Add index.Clear() to clear the index object
2019-01-04 00:43:48 +00:00