This commit is contained in:
wxiaoguang 2024-04-19 20:44:39 +08:00
parent eb24d973b0
commit 0d54a9043e
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ func parseCommitFileStatus(fileStatus *CommitFileStatus, stdout io.Reader) {
_, _ = rd.Discard(1)
}
for {
modifier, err := rd.ReadSlice('\x00')
modifier, err := rd.ReadString('\x00')
if err != nil {
if err != io.EOF {
log.Error("Unexpected error whilst reading from git log --name-status. Error: %v", err)