projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2935d59
)
Git.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 12 Mar 2019 07:48:37 +0000
(15:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 12 Mar 2019 07:48:37 +0000
(15:48 +0800)
Git.vala
patch
|
blob
|
history
diff --git
a/Git.vala
b/Git.vala
index
c50834d
..
8f5be3c
100644
(file)
--- a/
Git.vala
+++ b/
Git.vala
@@
-25,7
+25,8
@@
void main()
GLib.FileUtils.set_contents("/home/alan/git/test1-clone/test1", str);
var ix = a.repo.repo.get_index();
-
+ ix.add_path("test1");
+
var sig = new Ggit.Signature.now("Alan Knowles", "alan@roojs.com");
a.repo.repo.create_commit("HEAD", sig, sig, null, "test commit " + str,
// mmh.. no git add/commit in library...