Commit graph

291 commits

Author SHA1 Message Date
Aleksey Kulikov
28c4eca573 feat(reference): add ability to compress references 2021-09-04 15:27:09 +03:00
Aleksey Kulikov
f63808b4f8 feat(reference): add ability to peel reference until object of specified type is found 2021-09-04 14:50:34 +03:00
Aleksey Kulikov
56713da648 fix(tag): tag can point to any type of git object 2021-09-04 13:52:29 +03:00
Aleksey Kulikov
fb69de66d2 refactor: pass sha hex string instead of Oid as argument 2021-09-04 12:21:42 +03:00
Aleksey Kulikov
2cf974c624 feat(repository): add ability to lookup different types of git objects with [] 2021-09-04 12:04:28 +03:00
Aleksey Kulikov
f19a34a768 feat(revwalk): allow combining sorting types 2021-09-03 18:54:13 +03:00
Aleksey Kulikov
da3bda077a refactor: use classes instead of enums for git types 2021-09-03 18:19:44 +03:00
Aleksey Kulikov
ebfc67ee0d test(tree): add test for tree creation 2021-09-03 16:51:54 +03:00
Aleksey Kulikov
139c477d4a feat(treebuilder): add bindings and api 2021-09-03 16:30:46 +03:00
Aleksey Kulikov
0cdaa6f8f4 feat(tag): add bindings and api 2021-09-03 12:13:23 +03:00
Aleksey Kulikov
f0803298c8 feat(blob): add bindings and api 2021-09-02 18:03:41 +03:00
Aleksey Kulikov
88d064bda2 test(tree): merge tests 2021-09-02 15:49:34 +03:00
Aleksey Kulikov
c26e3f4539 refactor(reflog): use naming conventions for similar methods 2021-09-02 14:31:05 +03:00
Aleksey Kulikov
5675f9265c style: use fat arrow for single-line methods 2021-09-02 14:17:44 +03:00
Aleksey Kulikov
84ee4be945 feat(tree): add bindings and api 2021-09-02 11:58:14 +03:00
Aleksey Kulikov
6bd04bb09d refactor: remove unnecessary git_libgit2_init() 2021-09-01 16:59:07 +03:00
Aleksey Kulikov
ce9384cac9 feat(revparse): add bindings and api 2021-09-01 16:53:40 +03:00
Aleksey Kulikov
3b13646b1b feat(repository): add api method for revparse_single 2021-09-01 10:43:08 +03:00
Aleksey Kulikov
2e0486c641 feat(revwalk): add bindings and api 2021-08-31 18:21:25 +03:00
Aleksey Kulikov
e0e3742457 refactor: pass repository object to arguments instead of pointer 2021-08-30 17:14:52 +03:00
Aleksey Kulikov
94b4116adf feat(commit): add ability to create commit with different number of parents 2021-08-30 16:45:37 +03:00
Aleksey Kulikov
c90561ed8f feat(commit): add ability to create commit 2021-08-27 21:17:19 +03:00
Aleksey Kulikov
a78c38d8e3 refactor: revert 'use ffi Arena for resource management' 2021-08-27 15:05:05 +03:00
Aleksey Kulikov
6a097c1841 feat: upgrade libgit2 2021-08-26 15:13:12 +03:00
Aleksey Kulikov
3bbcca3c75 feat(oid): expand short sha by looking up in ODB 2021-08-25 19:25:05 +03:00
Aleksey Kulikov
747996b40c refactor: use ffi Arena for resource management 2021-08-25 18:33:17 +03:00
Aleksey Kulikov
d0bb7aaa0f refactor: change filename according to function 2021-08-24 19:19:34 +03:00
Aleksey Kulikov
0509895b72 refactor(reflog): use Signature class instead of Map 2021-08-24 19:13:21 +03:00
Aleksey Kulikov
dc5f510aa5 feat(commit): add base bindings and api 2021-08-24 19:08:12 +03:00
Aleksey Kulikov
696d55bb3a feat(repository): add ability to initialize repository 2021-08-21 15:36:42 +03:00
Aleksey Kulikov
543ebff223 feat(repository): add ability to discover repository from sub directories 2021-08-21 14:56:23 +03:00
Aleksey Kulikov
da8494d3e2 refactor(config): simplify api methods names 2021-08-21 11:25:06 +03:00
Aleksey Kulikov
9873d6ccc0 docs: remove obsolete documentation 2021-08-18 15:51:17 +03:00
Aleksey Kulikov
594aca6474 feat(repository): add ability to get repository config 2021-08-12 20:00:25 +03:00
Aleksey Kulikov
0194d7c361 feat(index): add ability to read tree and write tree 2021-08-12 17:14:17 +03:00
Aleksey Kulikov
f5e43f3d90 docs(reference): update examples 2021-08-11 18:51:33 +03:00
Aleksey Kulikov
627519a31f refactor(index): use enum for file modes 2021-08-11 17:17:09 +03:00
Aleksey Kulikov
5feb12fdaa refactor!: change api entry points 2021-08-11 17:02:32 +03:00
Aleksey Kulikov
06b44597d5 feat(index): add ability to change attributes of index entry 2021-08-11 12:55:04 +03:00
Aleksey Kulikov
5b8f089723 feat(index): add base bindings and api 2021-08-10 20:19:24 +03:00
Aleksey Kulikov
9a737f8d3e test(reference): free up proper objects 2021-08-09 17:14:34 +03:00
Aleksey Kulikov
ef29257f2e feat(repository): add ability to set working directory 2021-08-09 15:55:42 +03:00
Aleksey Kulikov
b603a567b2 feat(repository): add ability to set head 2021-08-09 13:14:24 +03:00
Aleksey Kulikov
7b6e0c36f6 feat(reference): add ability to compare references 2021-08-09 12:08:58 +03:00
Aleksey Kulikov
1f0201d259 refactor(reference): remove duplication 2021-08-09 11:56:37 +03:00
Aleksey Kulikov
a474f06917 test: use setUp for tests instead of setUpAll 2021-08-07 19:00:14 +03:00
Aleksey Kulikov
2170965ad8 feat(reference): add ability to lookup reference by shorthand name 2021-08-06 20:28:38 +03:00
Aleksey Kulikov
cfc6d0412b feat(reference): add ability to rename reference 2021-08-06 18:57:21 +03:00
Aleksey Kulikov
30359f04d6 test(reference): set target with log message 2021-08-06 18:16:08 +03:00
Aleksey Kulikov
a1884b4dac feat(reference): add ability to get shorthand name of reference 2021-08-06 17:17:45 +03:00