github.com/grantbow/fit@v0.7.1-0.20220916164603-1f7c88ac81e6/fit/status-better-scm-details/Description (about)

     1  #### What did you do?
     2  fit status
     3  fit staging || fit cached
     4  
     5  
     6  #### What did you expect to see?
     7  the information should be specific and helpful
     8  it isn't easy checking through each hit to know if
     9  it is untracked and/or if it's staged but not yet committed
    10  
    11  
    12  #### What did you see instead?
    13  output differs. both should be equally helpful
    14  
    15  
    16  #### What version?
    17  
    18  
    19  #### notes:
    20  fitapp/Env.go
    21  should have similar code and description to
    22  cmd/fit/main.go
    23  fitapp/Twilio.go also used similar code
    24  
    25  this is a good opportunity to refactor the code
    26  that was implemented in the easiest manner possible:
    27      1. check for any files first of both untracked and unstaged
    28      2. if there are any, check for just the unstaged
    29  
    30  So a data structure will be needed instead of using the output directly.
    31  
    32  
    33  closed by simply giving the scm commands instead of wrangling the data
    34