Skip to content

Commit d18a0b3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4c954bb commit d18a0b3

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

src/subcommand/push_subcommand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <git2/remote.h>
88

99
#include "../utils/ansi_code.hpp"
10-
//#include "../utils/common.hpp"
10+
// #include "../utils/common.hpp"
1111
#include "../utils/credentials.hpp"
1212
#include "../utils/progress.hpp"
1313
#include "../wasm/scope.hpp"

src/wrapper/strarray_wrapper.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ size_t strarray_owned_wrapper::size() const
4040

4141
std::string_view strarray_owned_wrapper::operator[](size_t i) const
4242
{
43-
return { m_array.strings[i] };
43+
return {m_array.strings[i]};
4444
}
4545

4646
strarray_view_wrapper::strarray_view_wrapper(std::vector<std::string> patterns)
@@ -95,5 +95,3 @@ size_t strarray_view_wrapper::size() const
9595
{
9696
return m_patterns.size();
9797
}
98-
99-

src/wrapper/strarray_wrapper.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class strarray_owned_wrapper
3737
// Wrapper of git_strarray containing pointers to strings
3838
// stored in a stnadard container. Does not free them upon
3939
// destruction.
40-
class strarray_view_wrapper
40+
class strarray_view_wrapper
4141
{
4242
public:
4343

0 commit comments

Comments
 (0)