projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
609adb0
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 25 Aug 2017 05:25:08 +0000
(13:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 25 Aug 2017 05:25:08 +0000
(13:25 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
42202d3
..
c84bea2
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-169,8
+169,8
@@
public class GitRepo : Object
try {
var ret = this.git( { "check-ignore" , fname } );
- this.ignore_files.set(fname, ret
== fname
);
- return ret
== fname
;
+ this.ignore_files.set(fname, ret
.length > 0
);
+ return ret
.length > 0
;
} catch (SpawnError e) {
this.ignore_files.set(fname, false);
return false;
@@
-207,6
+207,7
@@
public class GitRepo : Object
}
+
/**
* commit:
* perform a commit.