| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report❌ Patch coverage is 95.45455% with 1 line in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #119 +/- ##
==========================================
- Coverage 87.69% 86.65% -1.04%
==========================================
Files 60 60
Lines 2463 2481 +18
Branches 304 307 +3
==========================================
- Hits 2160 2150 -10
- Misses 303 331 +28 ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
| if (m_branch.empty()) | ||
| { | ||
| auto repo = repository_wrapper::init(m_directory, m_bare); | ||
| path = repo.path(); |
There was a problem hiding this comment.
This line is now that same here and in the else branch below, so it could be moved outside the end of the if-else.
Sorry, something went wrong.
There was a problem hiding this comment.
It can't, because the repo doesn't exist outside of the if-else. I tried to change that using something like repository_wrapper repo = [this](){if-else}() but there was a problem with the init then.
I gave it anohter try and it seem to work.
Sorry, something went wrong.
There was a problem hiding this comment.
OK, let's merge. Thanks @SandrineP
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add -b flag to init subcommand
Remove usage of git in tests