forgejo/services/gitdiff
zeripath 4482f62a26
Prevent dangling GetAttribute calls (#18754)
It appears possible that there could be a hang due to unread data from the
repo-attribute command pipes. This PR simply closes these during the defer.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-02-14 18:03:56 +01:00
..
testdata/academic-module
csv.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
csv_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
gitdiff.go Prevent dangling GetAttribute calls (#18754) 2022-02-14 18:03:56 +01:00
gitdiff_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00