projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0153f97
)
Scm/Git/Repo.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 5 Sep 2014 03:18:22 +0000
(11:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 5 Sep 2014 03:18:22 +0000
(11:18 +0800)
Scm/Git/Repo.vala
patch
|
blob
|
history
diff --git
a/Scm/Git/Repo.vala
b/Scm/Git/Repo.vala
index
68a46fb
..
a50ddff
100644
(file)
--- a/
Scm/Git/Repo.vala
+++ b/
Scm/Git/Repo.vala
@@
-63,6
+63,11
@@
class GitRepo : Object
// not sure if that is how git works.. but just be certian.
for (var i = 0; i < files.length;i++) {
var f = files.item(i);
+
+ if (!GLib.FileUtils.test(this.repopath +"/" + f, GLib.FileTest.EXISTS)) {
+ continue;
+ }
+ printf("Checked %s - exists\n", this.repopath +"/" + f);
try {
this.git( { "add", f });
} catch (Error e) {