2.1.0 (#241)
• removes the <esc> keybinding for popups which was causing folks to lose their changes • deprecates the backup register. • updates go-gitlab to latest in order to get "drafts" functionality • fixes issues with labels not deleting correctly • creates a new data() function to get data from the plugin directly, see :h gitlab.nvim.data • fixes issues with line values not being computed directly, blocking jumps to/from discussion tree This is a #MINOR release.
This commit is contained in:
committed by
GitHub
parent
12c4acb297
commit
36f512cd6d
@@ -86,10 +86,6 @@ func GetCurrentBranchNameFromNativeGitCmd() (res string, e error) {
|
||||
|
||||
branchName := strings.TrimSpace(string(output))
|
||||
|
||||
if branchName == "main" || branchName == "master" {
|
||||
return "", fmt.Errorf("Cannot run on %s branch", branchName)
|
||||
}
|
||||
|
||||
return branchName, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user