mirror of
https://github.com/go-gitea/git.git
synced 2026-07-18 20:44:38 -04:00
[PR #11] [MERGED] golint fixed #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-gitea/git/pull/11
Author: @lunny
Created: 11/12/2016
Status: ✅ Merged
Merged: 11/16/2016
Merged by: @lunny
Base:
master← Head:lunny/fixed_lint📝 Commits (3)
167a0bagolint fixed current -min_confidence=0.953e6ad6add comment on HookPathUpdate38a5ca6change returned unexported types to exported types📊 Changes
22 files changed (+183 additions, -114 deletions)
View changed files
📝
blob.go(+1 -0)📝
command.go(+2 -4)📝
commit.go(+18 -7)📝
commit_archive.go(+4 -0)📝
error.go(+6 -0)📝
git.go(+5 -5)📝
hook.go(+3 -0)📝
repo.go(+8 -5)📝
repo_branch.go(+9 -7)📝
repo_commit.go(+23 -16)📝
repo_hook.go(+2 -0)📝
repo_object.go(+9 -4)📝
repo_pull.go(+1 -1)📝
repo_tag.go(+9 -6)📝
repo_tree.go(+2 -2)📝
sha1.go(+20 -19)📝
submodule.go(+3 -2)📝
tag.go(+3 -2)📝
tree.go(+15 -13)📝
tree_blob.go(+4 -2)...and 2 more files
📄 Description
This PR will fix the golint errors. But we need set the golint minimal confidence to 0.9 although the default confidence is 0.8, because there are some errors could not be resolved currently. If you have any idea, please send a new PR to fix it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.