diff options
| author | Shulhan <ms@kilabit.info> | 2018-09-14 04:56:02 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-09-14 04:56:40 +0700 |
| commit | a74d3f9f4587a582777eb690e2cf6549604a671b (patch) | |
| tree | 40f8742855887858a90d4baefcb01461786239e6 | |
| parent | 7380e2b3455071ee1014aa4f59454e500f2778c7 (diff) | |
| download | beku-a74d3f9f4587a582777eb690e2cf6549604a671b.tar.xz | |
package: check remote branch when calling IsEqual
| -rw-r--r-- | package.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 } |
