| 1019 | } |
| 1020 | |
| 1021 | void GitPlugin::stage( const std::vector<std::string>& files ) { |
| 1022 | if ( files.empty() ) |
| 1023 | return; |
| 1024 | runAsync( |
| 1025 | [this, files]() { return mGit->add( fixFilePaths( files ), mGit->repoPath( files[0] ) ); }, |
| 1026 | true, false ); |
| 1027 | } |
| 1028 | |
| 1029 | void GitPlugin::unstage( const std::vector<std::string>& files ) { |
| 1030 | if ( files.empty() ) |