aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2018-09-14 04:56:02 +0700
committerShulhan <ms@kilabit.info>2018-09-14 04:56:40 +0700
commita74d3f9f4587a582777eb690e2cf6549604a671b (patch)
tree40f8742855887858a90d4baefcb01461786239e6
parent7380e2b3455071ee1014aa4f59454e500f2778c7 (diff)
downloadbeku-a74d3f9f4587a582777eb690e2cf6549604a671b.tar.xz
package: check remote branch when calling IsEqual
-rw-r--r--package.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/package.go b/package.go
index 7c186ba..e849a30 100644
--- a/package.go
+++ b/package.go
@@ -207,6 +207,9 @@ func (pkg *Package) IsEqual(other *Package) bool {
if pkg.RemoteURL != other.RemoteURL {
return false
}
+ if pkg.RemoteBranch != other.RemoteBranch {
+ return false
+ }
if pkg.Version != other.Version {
return false
}