update git module (#2037)

This commit is contained in:
Lauris BH 2017-06-23 03:06:43 +03:00 committed by Lunny Xiao
parent cc6b3f60c6
commit c259c436d7
3 changed files with 14 additions and 7 deletions

View file

@ -264,7 +264,9 @@ func getNextCommitInfos(state *getCommitInfoState) error {
return fmt.Errorf("Unquote: %v", err)
}
}
state.update(entryPath)
if err = state.update(entryPath); err != nil {
return err
}
}
i++ // skip blank line
if len(state.entries) == len(state.commits) {