summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeah (ctucx) <leah@ctu.cx>2021-03-17 18:23:42 +0100
committerLeah (ctucx) <leah@ctu.cx>2021-03-17 18:23:42 +0100
commita38083061ec162bba4e56b38b0041af843ed5f1c (patch)
treef52b449cf8129e0a35949c396ce7733ac814f55e
parent022d1bcf6cfcb5ddbed09f8e197e3b0367d8b192 (diff)
downloadnimgit-a38083061ec162bba4e56b38b0041af843ed5f1c.tar.gz
nimgit-a38083061ec162bba4e56b38b0041af843ed5f1c.tar.bz2
nimgit-a38083061ec162bba4e56b38b0041af843ed5f1c.zip
commit.nim: fix typo
-rw-r--r--nimgit/commit.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimgit/commit.nim b/nimgit/commit.nim
index 2f43c5f..a990ca7 100644
--- a/nimgit/commit.nim
+++ b/nimgit/commit.nim
@@ -8,7 +8,7 @@ proc lookupCommit* (repo: GitRepository, oid: GitObjectId): GitCommit =
free(result)
raise newException(CatchableError, "Commit lookup failed: " & $error.getResultCode)
-proc owner* (commt: GitCommit): GitRepository = git_commit_owner(commit)
+proc owner* (commit: GitCommit): GitRepository = git_commit_owner(commit)
proc repo* (commit: GitCommit): GitRepository = commit.owner()