public GitBranch _currentBranch;
public GitBranch getCurrentBranch() {
if (this._currentBranch == null) {
+ Posix.usleep(100); // try and slow down branch loading
this.loadBranches();
+
}
if (this._currentBranch == null) {
- GLib.error("could not work out current branch?");
+ GLib.error("could not work out current branch? : %s ",this.git_working_dir );
}
return this._currentBranch;
}