zeripath 7ebc3da7cb
Prevent dangling GetAttribute calls (#18754) (#18755)
* Prevent dangling GetAttribute calls

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>

* move close into the defer

Signed-off-by: Andrew Thornton <art27@cantab.net>

* lets try again

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-02-14 15:27:55 -05:00
..
2021-10-24 22:12:43 +01:00
2022-01-10 23:46:26 +08:00
2021-12-02 15:28:08 +08:00
2022-01-10 17:32:37 +08:00
2021-12-20 04:41:31 +00:00
2021-10-17 20:47:12 +01:00
2021-07-20 15:16:20 +02:00
2021-12-20 04:41:31 +00:00

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.