mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-03 03:31:04 +03:00
Fix build
This commit is contained in:
@@ -327,7 +327,7 @@ std::vector<Git::Branch> Git::getAllBranchesAndTags( RefType ref, const std::str
|
||||
|
||||
auto headOrigins = getHeadOrigins( projectDir );
|
||||
|
||||
readAllLines( buf, [&branches, ref, &headOrigins, this]( const std::string_view& line ) {
|
||||
readAllLines( buf, [&]( const std::string_view& line ) {
|
||||
auto branch = String::trim( String::trim( line, '\n' ), '\'' );
|
||||
if ( ( ref & Head ) && String::startsWith( branch, "refs/heads/" ) ) {
|
||||
branches.emplace_back( parseLocalBranch( branch, headOrigins ) );
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
namespace ecode {
|
||||
|
||||
Reference in New Issue
Block a user