diff --git a/src/tools/ecode/plugins/git/git.cpp b/src/tools/ecode/plugins/git/git.cpp index 4a33baa6c..42b0e5c7c 100644 --- a/src/tools/ecode/plugins/git/git.cpp +++ b/src/tools/ecode/plugins/git/git.cpp @@ -957,7 +957,7 @@ Git::Result Git::stashPush( std::vector 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 );