From c259c436d72df1a4a2e49d231dffe30d78c004fc Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Fri, 23 Jun 2017 03:06:43 +0300 Subject: update git module (#2037) --- vendor/code.gitea.io/git/tree_entry.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vendor/code.gitea.io/git/tree_entry.go') diff --git a/vendor/code.gitea.io/git/tree_entry.go b/vendor/code.gitea.io/git/tree_entry.go index 4c69002f4f..7ea4d211a7 100644 --- a/vendor/code.gitea.io/git/tree_entry.go +++ b/vendor/code.gitea.io/git/tree_entry.go @@ -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) { -- cgit v1.2.3