Skip to content

Commit

Permalink
git: ActionRefs - fix nospace for HEAD~
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed May 6, 2024
1 parent 3828de5 commit 2445f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/actions/tools/git/ref.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func ActionRefs(refOption RefOption) carapace.Action {
}

if refOption.HeadCommits {
batch = append(batch, carapace.ActionValues("HEAD~"))
batch = append(batch, carapace.ActionValues("HEAD~").NoSpace('~'))
}

if refOption.Tags {
Expand Down

0 comments on commit 2445f86

Please sign in to comment.