We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a16dc5e commit f5874fcCopy full SHA for f5874fc
1 file changed
src/subcommand/checkout_subcommand.cpp
@@ -296,8 +296,8 @@ void checkout_subcommand::update_head(
296
{
297
previous_head_commit = repo.find_commit("HEAD");
298
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();
+ + std::string(previous_head_commit.value().commit_oid_tostr().substr(0, 7))
+ + " " + previous_head_commit.value().summary();
301
}
302
303
std::string_view annotated_ref = target_annotated_commit.reference_name();
0 commit comments