Skip to content

Commit f5874fc

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/subcommand/checkout_subcommand.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ void checkout_subcommand::update_head(
296296
{
297297
previous_head_commit = repo.find_commit("HEAD");
298298
previous_head_message = "Previous HEAD position was "
299-
+ std::string(previous_head_commit.value().commit_oid_tostr().substr(0, 7)) + " "
300-
+ previous_head_commit.value().summary();
299+
+ std::string(previous_head_commit.value().commit_oid_tostr().substr(0, 7))
300+
+ " " + previous_head_commit.value().summary();
301301
}
302302

303303
std::string_view annotated_ref = target_annotated_commit.reference_name();

0 commit comments

Comments
 (0)