projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33b423c
)
Git.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 12 Mar 2019 07:51:33 +0000
(15:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 12 Mar 2019 07:51:33 +0000
(15:51 +0800)
Git.vala
patch
|
blob
|
history
diff --git
a/Git.vala
b/Git.vala
index
49ed6b2
..
90c3ebf
100644
(file)
--- a/
Git.vala
+++ b/
Git.vala
@@
-28,8
+28,8
@@
void main()
ix.add_path("test1");
ix.write();
var treeoid = index.write_tree();
- //var tree = a.repo.lookup<Ggit.Tree>(treeoid);
- var tree = a.repo.lookup
(treeoid);
+
+ var tree = a.repo.lookup
<Ggit.Tree>(treeoid); // odd format..
var sig = new Ggit.Signature.now("Alan Knowles", "alan@roojs.com");
a.repo.create_commit("HEAD", sig, sig, null, "test commit " + str,