Ignore Sync errors on pipes when doing CheckAttributeReader.CheckPath
, fix the hang of git cat-file
(#17096)
* Ignore Sync errors on pipes when doing `CheckAttributeReader.CheckPath` * apply env patch * Drop the Sync and fix a number of issues with the Close function Signed-off-by: Andrew Thornton <art27@cantab.net> * add logs for DBIndexer and CheckPath * Fix some more closing bugs Signed-off-by: Andrew Thornton <art27@cantab.net> * Add test case for language_stats Signed-off-by: Andrew Thornton <art27@cantab.net> * Update modules/indexer/stats/db.go Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
parent
5ac857f4d4
commit
b231d0deab
35 changed files with 960 additions and 65 deletions
BIN
modules/git/tests/repos/language_stats_repo/index
Normal file
BIN
modules/git/tests/repos/language_stats_repo/index
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue