forgejo/modules/repository
JonRB 7cc7c3e449
Executable check always returns true for windows (#20637)
* 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 #20636

* 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>
2022-08-04 15:28:32 +08:00
..
commits.go
commits_test.go
create.go Adjust transaction handling via db.Context (#20031) 2022-06-20 14:38:58 +02:00
create_test.go
delete.go
env.go
fork.go
generate.go
generate_test.go
hooks.go Executable check always returns true for windows (#20637) 2022-08-04 15:28:32 +08:00
init.go Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2022-06-16 23:47:44 +08:00
main_test.go
push.go
repo.go
temp.go