We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828adc2 commit 126d4d4Copy full SHA for 126d4d4
src/subcommand/status_subcommand.cpp
@@ -301,7 +301,7 @@ void status_subcommand::run()
301
// }
302
303
304
- if (!sl.has_tobecommited_header() & (sl.has_notstagged_header() | sl.has_untracked_header()))
+ if (!sl.has_tobecommited_header() && (sl.has_notstagged_header() || sl.has_untracked_header()))
305
{
306
if (sl.has_untracked_header())
307
@@ -313,7 +313,7 @@ void status_subcommand::run()
313
}
314
315
316
- if (!sl.has_notstagged_header() & !sl.has_untracked_header())
+ if (!sl.has_notstagged_header() && !sl.has_untracked_header())
317
318
std::cout << uptodate_msg << std::endl;
319
0 commit comments