Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #581 from FiloSottile/patch-2
Browse files Browse the repository at this point in the history
gb-vendor: fix recursive dependency fetching with -branch
  • Loading branch information
davecheney committed Mar 21, 2016
2 parents 7196383 + 440ab35 commit 10f5c6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/gb-vendor/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func fetch(ctx *gb.Context, path string, recurse bool) error {
return err
}

branch, err := wc.Branch()
b, err := wc.Branch()
if err != nil {
return err
}
Expand All @@ -119,7 +119,7 @@ func fetch(ctx *gb.Context, path string, recurse bool) error {
Importpath: path,
Repository: repo.URL(),
Revision: rev,
Branch: branch,
Branch: b,
Path: extra,
}

Expand Down

0 comments on commit 10f5c6c

Please sign in to comment.