projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e067f3f
)
Git.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 13 Mar 2019 07:07:33 +0000
(15:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 13 Mar 2019 07:07:33 +0000
(15:07 +0800)
Git.vala
patch
|
blob
|
history
diff --git
a/Git.vala
b/Git.vala
index
7f4fb4a
..
5737ac3
100644
(file)
--- a/
Git.vala
+++ b/
Git.vala
@@
-93,10
+93,10
@@
namespace GitLive {
}
Ggit.Branch? getBranch(string remote_name, string remote_branch_name)
{
}
Ggit.Branch? getBranch(string remote_name, string remote_branch_name)
{
- GLib.debug("lookup %s
", remote
_name);
+ GLib.debug("lookup %s
:%s", remote_name, remote_branch
_name);
foreach(var br in this.branches) {
GLib.debug("test:%s", br.get_upstream().get_shorthand());
foreach(var br in this.branches) {
GLib.debug("test:%s", br.get_upstream().get_shorthand());
- if ("ref/heads/" + remote_name + br.get_upstream().get_shorthand() == remote_name) {
+ if ("ref/heads/" + remote_name + br.get_upstream().get_shorthand() == remote_
branch_
name) {
return br;
}
return br;
}