git/git.go: use lowercase git command in message

We convert one message output by the git package to use
the lowercase "git" binary name instead of the capitalized
variant, which will make this message consistent with how
other Git commands are reported in error messages elsewhere.

Note that this message is not yet passed as a translation
string, but we will address that issue in a subsequent commit.
This commit is contained in:
Chris Darroch 2022-01-29 12:15:18 -08:00
parent c446eece2e
commit d02ac26e9d

@ -1372,7 +1372,7 @@ func IsFileModified(filepath string) (bool, error) {
}
}
if err := cmd.Wait(); err != nil {
return false, lfserrors.Wrap(err, "Git status failed")
return false, lfserrors.Wrap(err, "git status failed")
}
return matched, nil