Max Brunsfeld
74a39c7263
Make FakeGitRepository behave more like a real git repository ( #26961 )
...
This PR reworks the `FakeGitRepository` type that we use for testing git
interactions, to make it more realistic. In particular, the `status`
method now derives the Git status from the differences between HEAD, the
index, and the working copy. This way, if you modify a file in the
`FakeFs`, the Git repository's `status` method will reflect that
modification.
Release Notes:
- N/A
---------
Co-authored-by: Junkui Zhang <364772080@qq.com >
2025-03-19 16:04:27 +00:00
..
2025-03-19 02:09:02 +00:00
2025-03-13 22:56:16 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 15:54:57 +00:00
2025-03-19 15:37:48 +00:00
2025-03-19 02:09:02 +00:00
2025-03-12 12:30:47 +00:00
2025-03-10 13:38:30 -06:00
2025-03-19 02:09:02 +00:00
2025-03-19 15:33:08 +01:00
2025-03-19 14:59:10 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-13 20:53:47 -05:00
2025-03-19 02:09:02 +00:00
2025-03-19 16:04:27 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 15:37:48 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-18 12:55:25 -04:00
2025-03-19 02:09:02 +00:00
2025-03-19 14:01:33 +01:00
2025-03-19 02:09:02 +00:00
2025-03-19 15:33:08 +01:00
2025-03-19 02:09:02 +00:00
2025-03-18 12:55:25 -04:00
2025-03-11 22:54:44 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 12:20:26 +00:00
2025-03-19 02:09:02 +00:00
2025-03-18 22:19:11 -06:00
2025-03-19 16:04:27 +00:00
2025-03-10 13:38:30 -06:00
2025-03-19 16:04:27 +00:00
2025-03-17 15:39:52 +00:00
2025-03-19 16:04:27 +00:00
2025-03-19 02:09:02 +00:00
2025-03-18 22:27:09 -06:00
2025-03-14 13:40:02 -03:00
2025-03-17 02:36:37 +00:00
2025-03-17 02:36:37 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-18 12:55:25 -04:00
2025-03-13 22:56:16 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 04:25:29 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-18 19:24:24 +05:30
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-14 07:19:43 +00:00
2025-03-19 02:09:02 +00:00
2025-03-18 18:18:56 +00:00
2025-03-18 12:55:25 -04:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 16:04:27 +00:00
2025-03-19 16:04:27 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-13 09:41:27 +00:00
2025-03-18 12:55:25 -04:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-10 13:38:30 -06:00
2025-03-18 17:59:58 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-18 12:55:25 -04:00
2025-03-19 02:09:02 +00:00
2025-03-13 10:41:04 -07:00
2025-03-19 02:09:02 +00:00
2025-03-18 12:55:25 -04:00
2025-03-19 02:09:02 +00:00
2025-03-18 20:39:54 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 15:33:08 +01:00
2025-03-19 10:26:36 -04:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 02:09:02 +00:00
2025-03-19 10:26:36 -04:00
2025-03-18 22:27:09 -06:00
2025-03-19 11:09:51 +00:00
2025-03-15 14:16:10 +08:00
2025-03-19 07:28:50 -06:00
2025-03-19 02:09:02 +00:00
2025-03-18 22:27:09 -06:00
2025-03-19 16:04:27 +00:00
2025-03-19 11:33:30 -04:00
2025-03-17 15:05:17 -07:00
2025-03-19 02:09:02 +00:00