Skip to content

Commit 3ba11a4

Browse files
committed
address review comment
1 parent 4356f4e commit 3ba11a4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/subcommand/status_subcommand.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ std::string get_print_status(git_status_t status, output_format of) //TODO: add
7878
std::string entry_status;
7979
if ((of == output_format::DEFAULT) || (of == output_format::LONG))
8080
{
81-
entry_status = status_msg_map.at(status).long_mod + "\t";
81+
entry_status = status_msg_map.at(status).long_mod + " ";
8282
}
8383
else if (of == output_format::SHORT)
8484
{
@@ -144,9 +144,13 @@ void print_entries(std::vector<print_entry> entries_to_print, bool is_long, std:
144144
for (auto e: entries_to_print)
145145
{
146146
if (is_long)
147-
std::cout << colour << e.status << e.item << message_colour.at("colour_close") << std::endl;
147+
{
148+
std::cout << colour << e.status << e.item << message_colour.at("colour_close") << std::endl;
149+
}
148150
else
149-
std::cout << colour << e.status << message_colour.at("colour_close") << e.item << std::endl;
151+
{
152+
std::cout << colour << e.status << message_colour.at("colour_close") << e.item << std::endl;
153+
}
150154
}
151155
}
152156

0 commit comments

Comments
 (0)