| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| // } | ||
| // } | ||
|
|
||
| if (!sl.has_tobecommited_header() & (sl.has_notstagged_header() | sl.has_untracked_header())) |
There was a problem hiding this comment.
I think these should be && and || (logical operators) rather than & and | (bitwise operators).
Sorry, something went wrong.
| } | ||
| } | ||
|
|
||
| if (!sl.has_notstagged_header() & !sl.has_untracked_header()) |
There was a problem hiding this comment.
Similar here.
Sorry, something went wrong.
| // "No changes added to commit (use \"git add\" and/or \"git commit -a\")" | ||
| // (use \"git restore --staged <file>...\" to unstage)\n | ||
| // (use \"git reset HEAD <file>...\" to unstage)\n"; | ||
| const std::string ignored_header = "Ignored files:\n Ignored files:\n (use \"git add -f <file>...\" to include in what will be committed)\n"; |
There was a problem hiding this comment.
Is the repeat of "Ignored files:\n" intended here?
Sorry, something went wrong.
There was a problem hiding this comment.
No, I'll remove one. I'll also comment it as it's not used so far.
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks @SandrineP
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Improve status output: