projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39b5161
)
GitRepo.vala
author
Alan Knowles
<alan@akbkhome.com>
Sat, 10 May 2014 11:26:24 +0000
(19:26 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 10 May 2014 11:26:24 +0000
(19:26 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
84ba2c9
..
81357ef
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-16,13
+16,13
@@
class GitRepo : Object
* index of.. matching gitpath..
*/
public static int indexOfAdd( Array<GitRepo> repos, string gitpath) {
- for(var i =0; i < repos.length; i++) {
- if (reos.index(i).gitpath == add) {
- return i;
- }
+ for(var i =0; i < repos.length; i++) {
+ if (reos.index(i).gitpath == add) {
+ return i;
}
- return -1;
}
+ return -1;
+
}