summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeah (ctucx) <leah@ctu.cx>2021-03-17 02:23:29 +0100
committerLeah (ctucx) <leah@ctu.cx>2021-03-17 02:23:29 +0100
commit2c5ccc3dc6a01b7b90212f60bd70faf6d2271b39 (patch)
treeeb8d30db1b75882122c74808272b011e2f8cb4d4
parent74b4e93e6e52dfd54c58f09b4b39971d826ccd3b (diff)
downloadnimgit-2c5ccc3dc6a01b7b90212f60bd70faf6d2271b39.tar.gz
nimgit-2c5ccc3dc6a01b7b90212f60bd70faf6d2271b39.tar.bz2
nimgit-2c5ccc3dc6a01b7b90212f60bd70faf6d2271b39.zip
import new oid file
-rw-r--r--nimgit.nim4
-rw-r--r--nimgit/commit.nim2
-rw-r--r--nimgit/revisionWalker.nim2
3 files changed, 4 insertions, 4 deletions
diff --git a/nimgit.nim b/nimgit.nim
index 8a81bca..cc77484 100644
--- a/nimgit.nim
+++ b/nimgit.nim
@@ -1,6 +1,6 @@
import nimgit2
-import nimgit/[types, free, repository, objects, reference, revisionWalker, branch, commit]
+import nimgit/[types, free, repository, objects, oid, reference, revisionWalker, branch, commit]
export nimgit2
-export types, free, objects, repository, reference, revisionWalker, branch, commit
+export types, free, repository, objects, oid, reference, revisionWalker, branch, commit
diff --git a/nimgit/commit.nim b/nimgit/commit.nim
index e81286b..517cd0f 100644
--- a/nimgit/commit.nim
+++ b/nimgit/commit.nim
@@ -1,5 +1,5 @@
import nimgit2
-import types, free, utils
+import types, free, utils, oid
proc lookupCommit* (repo: GitRepository, oid: GitObjectId): GitCommit =
let error = git_commit_lookup(addr result, repo, oid)
diff --git a/nimgit/revisionWalker.nim b/nimgit/revisionWalker.nim
index 3ae6a6c..698f8a4 100644
--- a/nimgit/revisionWalker.nim
+++ b/nimgit/revisionWalker.nim
@@ -1,5 +1,5 @@
import nimgit2
-import types, free, objects
+import types, free, oid
proc walk* (repo: GitRepository): GitRevisionWalker =
let error = git_revwalk_new(addr result, repo)