You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KN4CK3R a9ca4b4100
Calculate filename hash only once (#19654)
* Calculate hash only once.

* remove unused Sha1 template helper function, use ctx.Data["FileNameHash"]

* fix unit tests
2 years ago
..
cherry_pick.go Allow API to create file on empty repo (#19224) 2 years ago
commit.go Auto merge pull requests when all checks succeeded via API (#9307) 2 years ago
content.go RepoAssignment ensure to close before overwrite (#19449) 2 years ago
content_test.go RepoAssignment ensure to close before overwrite (#19449) 2 years ago
delete.go Allow API to create file on empty repo (#19224) 2 years ago
diff.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
diff_test.go Calculate filename hash only once (#19654) 2 years ago
file.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
file_test.go Make git.OpenRepository accept Context (#19260) 2 years ago
patch.go Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
temp_repo.go Move some helper files out of models (#19355) 2 years ago
tree.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
tree_test.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
update.go Allow API to create file on empty repo (#19224) 2 years ago
upload.go Allow API to create file on empty repo (#19224) 2 years ago