You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reason being, I couldn't add git_branch_name: cached::BranchName inside Status struct. Maybe I am too much of a beginner, but lookup() function returns mutable reference to self, while draw_branch_state takes immutable reference, so it seems impossible to set BranchName correctly (at least inside draw_branch_state). And I do not think that I should mess with lower level structures in this case, as it is labeled as good first issue :)
Anyway, there is now problem of update function inside changes.rs:
hey @remique thanks for jumping on this. you can do the lookup in update of status.rs just like we had to do previously in ChangesComponent all the places in status.rs that previously referenced self.index_wd.branch_name() can the use the local cached::BranchName that indeed we need in status.rs. feel free to open a PR where we can easier collaborate over comments and specific code 👍
since #362 we now show the outgoing/incoming commits relative to the current branch in a more spacious place in the
left_chunks
of the status tab.it would be great to move the actual name of the current branch next to ity:
ChangesComponent
see
draw_branch_state
in status.rsThe text was updated successfully, but these errors were encountered: