Bugfix: Updates Diff Hashes (#106)
Rather than using branch names we are using the hashes provided directly in the Gitlab API response, to compare the point at which the branch diverged from the target to the head commit. We are additionally flashing a warning if the MR contains a merge conflict.
This commit is contained in:
committed by
GitHub
parent
b1b3448dcb
commit
b8c386ac6b
@@ -11,9 +11,9 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
g, err := ExtractGitInfo(GetProjectUrlFromNativeGitCmd, GetCurrentBranchNameFromNativeGitCmd)
|
||||
g, err := ExtractGitInfo(RefreshProjectInfo, GetProjectUrlFromNativeGitCmd, GetCurrentBranchNameFromNativeGitCmd)
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to get git namespace, project, branch, or url: %v", err)
|
||||
log.Fatalf("Failure initializing plugin with `git` commands: %v", err)
|
||||
}
|
||||
|
||||
var c Client
|
||||
|
||||
Reference in New Issue
Block a user