gitea/modules/repository
JonRB 7cc7c3e449
Executable check always returns true for windows ()
* Executable check always returns true for windows 

Windows doesn't have the concept of "executable" POSIX bits so for now always return true to minimise doctor and logging noise. Addresses 

* gofmt tweak

* Update modules/repository/hooks.go

Co-authored-by: silverwind <me@silverwind.io>

* gofmt comment line

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
..
commits.go Propagate context and ensure git commands run in request context ()
commits_test.go Propagate context and ensure git commands run in request context ()
create.go Adjust transaction handling via db.Context ()
create_test.go Move some repository related code into sub package ()
delete.go Move some repository related code into sub package ()
env.go Move some helper files out of models ()
fork.go Move some repository related code into sub package ()
generate.go Move some code into models/git ()
generate_test.go Move some repository related code into sub package ()
hooks.go Executable check always returns true for windows ()
init.go Remove legacy git code (ver < 2.0), fine tune markup tests ()
main_test.go Use a struct as test options ()
push.go Remove `git.Command.Run` and `git.Command.RunInDir*` ()
repo.go Move some code into models/git ()
temp.go Move some helper files out of models ()