Git.vala
authorAlan Knowles <alan@roojs.com>
Tue, 12 Mar 2019 07:49:12 +0000 (15:49 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 12 Mar 2019 07:49:12 +0000 (15:49 +0800)
Git.vala

index 8f5be3c..20a120d 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -26,7 +26,8 @@ void main()
        
        var ix = a.repo.repo.get_index();
        ix.add_path("test1");
-
+       ix.write();
+       
        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...