projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5c0a38c
)
sync
author
Alan Knowles
<alan@roojs.com>
Mon, 5 Nov 2018 06:50:16 +0000
(14:50 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 5 Nov 2018 06:50:16 +0000
(14:50 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
c7e6070
..
2bfa2a1
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-343,9
+343,10
@@
public class GitRepo : Object
}
FileUtils.set_contents(this.gitdir + "/.gitlive-active-ticket" , ticket.id);
this.activeTicket = ticket;
}
FileUtils.set_contents(this.gitdir + "/.gitlive-active-ticket" , ticket.id);
this.activeTicket = ticket;
+ return true;
}
}
- public
void
createBranchNamed(string branchname)
+ public
bool
createBranchNamed(string branchname)
{
try {
{
try {
@@
-367,12
+368,14
@@
public class GitRepo : Object
notification.show();
notification.show();
- } catch(e) {
+ } catch(
Error
e) {
GitMonitor.gitmonitor.pauseError(e.message);
GitMonitor.gitmonitor.pauseError(e.message);
+ return false;
}
this.loadBranches(); // update branch list...
GitMonitor.gitmonitor.runQueue(); // commit any outstanding...
}
this.loadBranches(); // update branch list...
GitMonitor.gitmonitor.runQueue(); // commit any outstanding...
+ return true;
}
}