summaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/git/tree_entry.go
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-06-23 03:06:43 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-23 08:06:43 +0800
commitc259c436d72df1a4a2e49d231dffe30d78c004fc (patch)
tree620be8b7285ec8199720e58555cb49e658008d21 /vendor/code.gitea.io/git/tree_entry.go
parentcc6b3f60c69a326f43e15d405bc9be04e767bd2d (diff)
downloadgitea-c259c436d72df1a4a2e49d231dffe30d78c004fc.tar.gz
gitea-c259c436d72df1a4a2e49d231dffe30d78c004fc.zip
update git module (#2037)
Diffstat (limited to 'vendor/code.gitea.io/git/tree_entry.go')
-rw-r--r--vendor/code.gitea.io/git/tree_entry.go4
1 files changed, 3 insertions, 1 deletions
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) {