Skip to content

Commit a2fe01a

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

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/subcommand/showref_subcommand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void showref_subcommand::run()
2323

2424
auto repo_refs = repo.refs_list();
2525

26-
for (auto r:repo_refs)
26+
for (auto r : repo_refs)
2727
{
2828
git_oid oid = repo.ref_name_to_id(r);
2929
std::cout << oid_to_hex(oid) << " " << r << std::endl;

src/subcommand/showref_subcommand.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ class showref_subcommand
1212
void run();
1313

1414
private:
15-
16-
1715
};

0 commit comments

Comments
 (0)