1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 08:43:08 +00:00
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 Fix panic when diff (#9187) 2019-11-28 17:05:57 +08:00
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