From 680c80233c506d757ea0d5ce7dfb449aab877287 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 9 Oct 2019 03:32:02 -0400 Subject: [PATCH] Fixes creating tags with message w/ spaces --- src/commands/git/tag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/git/tag.ts b/src/commands/git/tag.ts index b9a1ae1..8b61530 100644 --- a/src/commands/git/tag.ts +++ b/src/commands/git/tag.ts @@ -383,7 +383,7 @@ export class TagGitCommand extends QuickCommandBase { void state.repo.tag( ...state.flags, - ...(hasMessage ? [state.message] : []), + ...(hasMessage ? [`"${state.message}"`] : []), state.name, state.reference.ref );