     added    : /A|\?\?/    # Any "A" or "??"
     modified : /M/         # Any "M"
     deleted  : /D/         # Any "D"
+    renamed  : /R/         # Any "R"
 
   porcelainStatus.replace(/\s+$/, '').split('\0').map (line) ->
     status = line.substring 0, 2

      results.push @modified if @modified.length
      results.push @added if @added.length
      results.push @deleted if @deleted.length
      results.join ' '

    @formatters:


      deleted: ->
        if @length then "-#{@length}" else ""

      renamed: ->
        if @length then "→#{@length}" else ""

  # Returns an array of objects with 'path', 'code', 'staged', 'state'
  #
