title: Parsing git-status
body: <p>Here are the status codes and their meanings from the <a href="https://git-scm.com/docs/git-status#_output" rel="nofollow noreferrer">git-status docs</a>. The same meaning is attached to several status codes. Is there a way to store this data that doesn't require me to manually create the entire tree but still enables the quick searching of a tree via an API something like <code>statuses.getMeaning(x, y)</code>?</p>
  
  <pre><code>X          Y     Meaning
  -------------------------------------------------
            [MD]   not updated
  M        [ MD]   updated in index
  A        [ MD]   added to index
  D         [ M]   deleted from index
  R        [ MD]   renamed in index
  C        [ MD]   copied in index
  [MARC]           index and work tree matches
  [ MARC]     M    work tree changed since index
  [ MARC]     D    deleted in work tree
  -------------------------------------------------
  D           D    unmerged, both deleted
  A           U    unmerged, added by us
  U           D    unmerged, deleted by them
  U           A    unmerged, added by them
  D           U    unmerged, deleted by us
  A           A    unmerged, both added
  U           U    unmerged, both modified
  -------------------------------------------------
  ?           ?    untracked
  !           !    ignored
  -------------------------------------------------
  </code></pre>