mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-27 12:32:37 +02:00
Fix error prompt when new tag name starts with '--'
This commit is contained in:
parent
428ce2d0f2
commit
eb7531b206
@ -3,7 +3,7 @@ package commands
|
|||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
func (c *GitCommand) CreateLightweightTag(tagName string, commitSha string) error {
|
func (c *GitCommand) CreateLightweightTag(tagName string, commitSha string) error {
|
||||||
return c.RunCommand("git tag %s %s", tagName, commitSha)
|
return c.RunCommand("git tag -- %s %s", tagName, commitSha)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *GitCommand) DeleteTag(tagName string) error {
|
func (c *GitCommand) DeleteTag(tagName string) error {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user