Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 80feea0

Browse files
fix: deleting multiple tags always deletes the selected tags from remote even if Delete them from remote is unchecked (#1816)
Signed-off-by: leo <longshuang@msn.cn>
1 parent 7161115 commit 80feea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/ViewModels/DeleteMultipleTags.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public override async Task<bool> Sure()
3636
.Use(log)
3737
.DeleteAsync();
3838

39-
if (succ)
39+
if (succ&&DeleteFromRemote)
4040
{
4141
foreach (var r in _repo.Remotes)
4242
await new Commands.Push(_repo.FullPath, r.Name, $"refs/tags/{tag.Name}", true)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /