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
This refactoring streamlines the Git::Status class by decomposing
its responsibilities, resulting in cleaner, more focused components:
* `StatusFile`: The inner data responsibilities was moved to its
own class.
* `StatusFileFactory`: A new private factory was created to
encapsulate all the logic for executing git commands and parsing
their output into StatusFile objects.
I think the result is more readable and maintainable code.
0 commit comments