Files
gitocean/modules
Gusted 668709a33f [BUG] Handle bigger files in git grep
- The parser of `git grep`'s output uses `bufio.Scanner`, which is a good
choice overall, however it does have a limit that's usually not noticed,
it will not read more than `64 * 1024` bytes at once which can be hit in
practical scenarios.
- Use `bufio.Reader` instead which doesn't have this limitation, but is
a bit harder to work with as it's a more lower level primitive.
- Adds unit test.
- Resolves https://codeberg.org/forgejo/forgejo/issues/3149
2024-04-11 13:47:50 +02:00
..
2024-03-26 19:04:26 +01:00
2023-12-19 09:29:05 +00:00
2024-04-11 13:47:50 +02:00
Fix
2024-03-30 15:23:48 +01:00
2023-07-07 05:31:56 +00:00
2024-04-05 23:39:45 +02:00
2024-02-05 13:33:58 +01:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2022-12-30 23:31:00 +08:00
2023-11-03 15:21:05 +00:00
2024-04-07 10:57:53 +02:00
2024-03-27 15:38:38 +01:00
2024-04-05 10:20:40 +02:00