this.vname = this.vdir + (this.vdir.length > 0 ? "/" : "") + this.name;
- this.repo = GitRepo.get(this.gitpath);
+ this.repo = GitRepo.get_sync(this.gitpath);
// trigger the suggestion to start a new branch
}
public static string messageToString(Gee.ArrayList<GitMonitorQueue> messages ) {
string[] ret = {};
- for(var i =0; i < messages.length; i++) {
- ret+= messages.index(i).message;
+ for(var i =0; i < messages.size; i++) {
+ ret+= messages.get(i).message;
}
return string.joinv("\n",ret);
}