gitea/modules/git
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186)
* Ensure errors from IsDir propagate

* Handle errors when checking IsFile

* Handle and propagate errors from IsExist

* Update modules/templates/static.go

* Update modules/templates/static.go

* Return after ctx.ServerError

* Apply suggestions from code review

* Fix tests

The previous merge managed to break repo_form.go

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-11-27 21:42:08 -05:00
..
pipeline
tests/repos
README.md
blame.go Prevent panic on git blame by limiting lines to 4096 bytes at most (#13470) 2020-11-09 21:14:02 -05:00
blame_test.go
blob.go
blob_test.go
cache.go
command.go refactor repo_stats to use os.pipe (#11726) 2020-09-05 16:12:14 -04:00
command_test.go
commit.go Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 2020-11-08 12:21:54 -05:00
commit_archive.go
commit_info.go Cache last commit when pushing for big repository (#10109) 2020-10-09 01:17:23 +03:00
commit_info_test.go
commit_reader.go
commit_test.go
diff.go
diff_test.go
error.go
git.go go-version constraints ignore pre-releases (#13234) 2020-10-21 11:42:08 -04:00
git_test.go
hook.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
notes.go Cache last commit when pushing for big repository (#10109) 2020-10-09 01:17:23 +03:00
notes_test.go
parse.go
parse_test.go
ref.go Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 2020-11-08 12:21:54 -05:00
repo.go Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 2020-11-08 12:21:54 -05:00
repo_attribute.go go-version constraints ignore pre-releases (#13234) 2020-10-21 11:42:08 -04:00
repo_blame.go
repo_blob.go
repo_blob_test.go
repo_branch.go Adopt repositories (#12920) 2020-09-25 07:09:23 +03:00
repo_branch_test.go
repo_commit.go Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 2020-11-08 12:21:54 -05:00
repo_commit_test.go
repo_commitgraph.go
repo_compare.go
repo_compare_test.go
repo_gpg.go
repo_hook.go
repo_index.go
repo_language_stats.go
repo_object.go
repo_ref.go
repo_ref_test.go
repo_stats.go refactor repo_stats to use os.pipe (#11726) 2020-09-05 16:12:14 -04:00
repo_stats_test.go
repo_tag.go
repo_tag_test.go
repo_test.go
repo_tree.go go-version constraints ignore pre-releases (#13234) 2020-10-21 11:42:08 -04:00
sha1.go
signature.go
submodule.go Compare SSH_DOMAIN when parsing submodule URLs (#12753) 2020-09-07 20:08:10 -04:00
submodule_test.go Compare SSH_DOMAIN when parsing submodule URLs (#12753) 2020-09-07 20:08:10 -04:00
tag.go
tree.go
tree_blob.go Fix 500 on README in submodule (#13006) 2020-10-02 09:27:44 -04:00
tree_entry.go
tree_entry_test.go
utils.go
utils_test.go

README.md

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.