MCPcopy Create free account
hub / github.com/SpartanJ/eepp / stashPush

Method stashPush

src/tools/ecode/plugins/git/git.cpp:964–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

962}
963
964Git::Result Git::stashPush( std::vector<std::string> files, const std::string& name, bool keepIndex,
965 const std::string& projectDir ) {
966 std::string args;
967 if ( keepIndex )
968 args += " --keep-index";
969 if ( !name.empty() )
970 args += " --message \"" + name + "\"";
971 return gitSimple(
972 String::format( "stash push --include-untracked %s -- %s", args, asList( files ) ),
973 projectDir );
974}
975
976Git::Result Git::stashApply( const std::string& stashId, bool restoreIndex,
977 const std::string& projectDir ) {

Callers

nothing calls this directly

Calls 3

formatFunction · 0.85
asListFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected