Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #763 from jume-dev/trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
profclems committed Jun 10, 2021
2 parents f62e2fb + 925a61a commit a7d2cf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Please avoid:
Prerequisites:
- Go 1.13+

Build with: `make` or `go build -o bin/glab ./cmd/main.go`
Build with: `make` or `go build -o bin/glab ./cmd/glab/main.go`

Run the new binary as: `./bin/glab`

Expand Down
2 changes: 1 addition & 1 deletion commands/mr/mrutils/mrutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func MRFromArgsWithOpts(
}
}

if branch == "" {
if branch == "" && mrID == 0 {
branch, err = f.Branch()
if err != nil {
return nil, nil, err
Expand Down

0 comments on commit a7d2cf2

Please sign in to comment.