This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
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