Compares the statuses based on the natural order of the enumeration.
Returns with the human readable abbreviation of the Git file status argument. staged
argument defaults to false
.
Returns with human readable representation of the Git file status argument. If the staged
argument is undefined
,
it will be treated as false
.
It should be aligned with https://github.com/microsoft/vscode/blob/0dfa355b3ad185a6289ba28a99c141ab9e72d2be/extensions/git/src/repository.ts#L197