Lunny Xiao
ae0af8ea5b
Refactor Git Attribute & performance optimization ( #34154 )
...
This PR moved git attributes related code to `modules/git/attribute` sub
package and moved language stats related code to
`modules/git/languagestats` sub package to make it easier to maintain.
And it also introduced a performance improvement which use the `git
check-attr --source` which can be run in a bare git repository so that
we don't need to create a git index file. The new parameter need a git
version >= 2.40 . If git version less than 2.40, it will fall back to
previous implementation.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: yp05327 <576951401@qq.com>
2025-04-11 21:41:29 +08:00
..
2025-04-11 21:41:29 +08:00
2024-01-16 08:13:07 +01:00
2023-02-04 10:30:43 +08:00
2025-04-11 21:41:29 +08:00
2025-03-04 11:56:11 -08:00
2025-04-11 21:41:29 +08:00
2025-03-31 01:53:48 -04:00
2025-03-04 11:56:11 -08:00
2025-03-27 17:35:48 +00:00
2025-04-08 16:15:28 +00:00
2025-04-08 16:15:28 +00:00
2025-04-08 16:15:28 +00:00
2023-12-13 21:02:00 +00:00
2024-08-20 17:04:57 +00:00
2025-02-20 09:57:40 +00:00
2025-03-09 12:51:58 +08:00
2025-03-04 11:56:11 -08:00
2025-03-31 01:53:48 -04:00
2025-04-11 21:41:29 +08:00
2024-04-01 20:23:17 +00:00
2025-01-08 01:38:30 +00:00
2025-03-10 22:34:48 +08:00
2025-02-20 09:57:40 +00:00
2025-01-08 01:38:30 +00:00
2024-04-22 11:48:42 +00:00
2025-03-31 01:53:48 -04:00
2025-02-20 09:57:40 +00:00
2025-01-30 00:09:52 +00:00
2025-01-08 01:38:30 +00:00
2025-03-31 01:53:48 -04:00
2025-03-04 11:56:11 -08:00
2024-11-20 19:26:12 +00:00
2024-11-20 19:26:12 +00:00
2024-11-20 19:26:12 +00:00
2025-03-04 11:56:11 -08:00
2025-03-31 01:53:48 -04:00
2025-03-04 11:56:11 -08:00
2025-04-06 19:35:08 +00:00
2025-03-04 11:56:11 -08:00
2025-04-08 16:15:28 +00:00
2025-04-11 21:41:29 +08:00
2025-02-20 09:57:40 +00:00
2025-04-01 10:14:01 +00:00
2025-03-25 14:40:31 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2024-04-13 08:38:44 +00:00
2025-03-29 17:32:28 -04:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2025-02-20 09:57:40 +00:00
2022-11-27 18:20:29 +00:00
2024-05-06 18:34:16 +02:00
2024-01-19 17:05:02 +01:00
2024-04-26 09:49:48 +00:00
2025-04-01 10:14:01 +00:00
2024-04-29 08:47:56 +00:00
2024-04-29 08:47:56 +00:00
2025-03-31 01:53:48 -04:00
2025-03-15 16:26:49 +08:00
2025-02-07 00:58:28 +00:00
2019-03-27 17:33:00 +08:00
2025-01-13 14:01:53 +08:00
2025-01-13 14:01:53 +08:00
2025-03-04 11:56:11 -08:00
2025-01-13 01:07:05 +00:00
2025-03-04 11:56:11 -08:00
2025-03-25 14:40:31 +00:00
2025-03-27 17:35:48 +00:00
2025-03-04 11:56:11 -08:00
2023-12-13 21:02:00 +00:00
2023-12-13 21:02:00 +00:00
2023-12-19 07:20:47 +00:00
2023-12-19 07:20:47 +00:00
2025-01-19 18:41:15 -05:00
2025-03-04 11:56:11 -08:00
2025-03-31 01:53:48 -04:00
2025-04-02 17:31:32 +00:00
2025-03-04 11:56:11 -08:00
2025-04-04 16:19:19 -07:00
2024-12-23 07:07:12 +00:00
2025-03-04 11:56:11 -08:00
2025-03-24 14:50:28 -07:00
2025-03-04 11:56:11 -08:00
2024-12-24 14:29:34 +08:00
2025-03-08 17:36:08 +08:00
2025-03-04 11:56:11 -08:00
2022-11-27 18:20:29 +00:00
2025-04-08 16:15:28 +00:00
2025-03-04 11:56:11 -08:00
2023-12-13 21:02:00 +00:00
2025-03-04 11:56:11 -08:00
2023-03-02 13:32:21 +08:00
2025-03-29 17:32:28 -04:00
2025-03-31 01:53:48 -04:00
2025-03-04 11:56:11 -08:00
2024-11-20 19:26:12 +00:00
2025-04-04 16:19:19 -07:00
2025-03-31 01:53:48 -04:00
2025-03-15 19:48:59 -07:00
2025-02-20 09:57:40 +00:00
2025-03-04 11:56:11 -08:00
2025-04-04 16:19:19 -07:00
2025-03-04 11:56:11 -08:00
2025-04-08 16:15:28 +00:00
2024-02-09 11:02:53 +08:00
2024-02-09 11:02:53 +08:00
2025-03-31 01:53:48 -04:00
2024-02-09 11:02:53 +08:00
2025-03-31 01:53:48 -04:00
2025-03-04 11:56:11 -08:00
2024-04-01 20:23:17 +00:00
2025-04-04 16:19:19 -07:00
2025-03-15 16:26:49 +08:00
2025-01-01 02:55:13 +00:00
2022-11-27 18:20:29 +00:00
2023-12-13 21:02:00 +00:00
2025-04-06 19:35:08 +00:00
2025-01-01 02:55:13 +00:00
2022-11-27 18:20:29 +00:00
2025-04-06 19:35:08 +00:00
2023-12-13 21:02:00 +00:00
2025-03-04 11:56:11 -08:00
2025-03-31 01:53:48 -04:00
2025-03-04 11:56:11 -08:00
2024-05-20 15:12:50 +00:00
2025-03-25 14:40:31 +00:00