Closed golden-expiriensu closed 2 months ago
@altsem PTAL, can I start writing some tests or you would like me to change something (not sure if current approach is the best one)
This is how it looks when every section uses its dedicated style, what do you think?
It is a first step at least :+1:
One thing, I noticed that both the remote and the local branch are prefixed with a *
.
If I checkout a remote branch, a local branch would still have a *
, even though the HEAD is detached.
Okay, this should be much better now:
Remotes section is now segregated by the prefix before first slash (origin/main -> origin, text-text/main -> text-text) where header is capitalized prefix (origin -> Origin, text-text -> Text-text).
I am hesitant about current solution of detached head, as far as I see there is two options:
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.35%. Comparing base (
fad4740
) to head (112cca9
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I had a Quick Look at the code now. Will do some testing after work maybe 👍
Merging this, gj! :rocket:
Resolves: https://github.com/altsem/gitu/issues/125