Gather file status information and populate the git_status_list
.
Note that if a pathspec
is given in the git_status_options
to filter
the status, then the results from rename detection (if you enable it) may
not be accurate. To do rename detection properly, this must be called
with no pathspec
so that all files can be considered.
0 on success or error code