Skip to content

Commit

Permalink
Force git reference to origin/master
Browse files Browse the repository at this point in the history
Masterminds/glide#592 (comment)

Otherwise once at "master", the glide cache would not be updated
  • Loading branch information
pquerna authored Jul 17, 2017
1 parent 51e4aad commit 45172db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyperglide.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func Update(c *cli.Context) error {
dep := cfg.DependencyFromLock(lock)
_, ok := targets[dep.Name]
if len(c.Args()) == 0 || ok {
dep.Reference = "master"
dep.Reference = "origin/master"
}

return dep
Expand Down

0 comments on commit 45172db

Please sign in to comment.