vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

Force create tag option doesn't work anymore

Open Dark4Codrutz opened this issue 9 months ago • 0 comments

Description

For some months the "Force create tag" option stopped working. It behaves exactly as the normal "Create tag" option.

Looking at output panel it indicates that Gitlens doesn't pass the "--force" parameter to git.

Gitlens

[2025-04-29 09:31:38.601] [  3ff →   400] TagsGitSubProvider.createTag(e=e:/abc, t=v0.5.7, i=8b19c7342eecd51a09f5d76dfb89a18bf26fbc1a, r=)
[2025-04-29 09:31:38.636] [GIT      34ms] [e:/abc] git tag v0.5.7 8b19c7342eecd51a09f5d76dfb89a18bf26fbc1a [34ms]
[2025-04-29 09:31:38.636] [  3ff →   400] TagsGitSubProvider.createTag — failed [34ms]
Error: Unable to create tag 'v0.5.7' because it already exists
[2025-04-29 09:31:38.636] Create Tag
Error: Unable to create tag 'v0.5.7' because it already exists
[2025-04-29 09:31:38.636] ShowMessage(error, 'Error: Unable to create tag 'v0.5.7' because it already exists. See output channel for more details.', undefined, null)

Gitlens (git)

2025-04-29 11:31:38.636 [info] [2025-04-29 09:31:38.636] [         34ms] [e:/abc] git tag v0.5.7 8b19c7342eecd51a09f5d76dfb89a18bf26fbc1a

GitLens Version

v17.0.3

VS Code Version

Version: 1.99.3 (user setup) Commit: 17baf841131aa23349f217ca7c570c76ee87b957 Date: 2025-04-15T23:18:46.076Z Electron: 34.3.2 ElectronBuildId: 11161073 Chromium: 132.0.6834.210 Node.js: 20.18.3 V8: 13.2.152.41-electron.0 OS: Windows_NT x64 10.0.26100

Git Version

git version 2.49.0.vfs.0.0

Logs, Screenshots, Screen Captures, etc

output.log

Dark4Codrutz avatar Apr 29 '25 09:04 Dark4Codrutz