Minor fix in git plugin.

This commit is contained in:
Martín Lucas Golini
2024-02-20 02:26:36 -03:00
parent ca85127605
commit 9548d9f4cd

View File

@@ -957,7 +957,7 @@ Git::Result Git::stashPush( std::vector<std::string> files, const std::string& n
if ( keepIndex )
args += " --keep-index";
if ( !name.empty() )
args += " --message " + name;
args += " --message \"" + name + "\"";
return gitSimple(
String::format( "stash push --include-untracked %s -- %s", args, asList( files ) ),
projectDir );