Stefan Haller
c1e52fc807
Fix dropping submodule changes from a commit
...
Our logic to decide if a file needs to be checked out from the previous commit
or deleted because it didn't exist in the previous commit didn't work for
submodules. We were using `git cat-file -e` to ask whether the file existed, but
this returns an error for submodules, so we were always deleting those instead
of reverting them back to their previous state.
Switch to using `git ls-tree -- file` instead, which works for both files and
submodules.
2025-10-10 12:55:58 +02:00
..
2024-06-07 23:09:52 +02:00
2024-03-11 09:19:11 +01:00
2024-03-11 09:18:40 +01:00
2025-04-20 16:06:15 +02:00
2025-04-20 16:06:15 +02:00
2025-01-30 08:53:34 +01:00
2023-05-25 23:52:19 +10:00
2024-08-18 10:24:52 +02:00
2025-03-25 09:56:01 +01:00
2025-03-25 09:56:01 +01:00
2025-07-10 08:59:01 +02:00
2023-05-23 19:49:19 +10:00
2025-03-22 11:04:28 +01:00
2025-03-22 11:04:28 +01:00
2025-03-21 08:04:58 +01:00
2025-04-10 08:53:11 +02:00
2025-02-17 19:58:31 +01:00
2025-02-17 19:58:31 +01:00
2025-02-17 19:58:31 +01:00
2025-02-17 19:58:31 +01:00
2025-03-21 08:04:58 +01:00
2025-02-19 18:50:12 +01:00
2025-02-17 18:43:39 +01:00
2025-02-19 18:50:12 +01:00
2025-07-09 12:18:58 +02:00
2024-09-15 11:19:39 +02:00
2023-07-22 14:36:35 +10:00
2025-02-17 18:43:39 +01:00
2025-03-21 08:04:58 +01:00
2025-10-10 12:55:58 +02:00
2025-07-09 13:15:03 +02:00
2025-03-22 11:04:28 +01:00
2024-06-10 12:00:24 +02:00
2024-06-01 08:31:18 +02:00
2024-01-10 09:11:40 +01:00
2024-01-10 09:11:40 +01:00
2025-07-09 13:15:03 +02:00
2023-05-23 19:49:19 +10:00
2023-05-23 19:49:19 +10:00
2023-05-25 23:52:19 +10:00
2025-02-19 18:50:12 +01:00
2025-02-19 18:50:12 +01:00
2025-02-07 09:28:27 +01:00
2024-06-07 23:09:52 +02:00
2023-05-25 23:52:19 +10:00
2025-04-20 16:03:06 +02:00
2025-04-20 16:06:15 +02:00
2025-04-20 16:06:15 +02:00
2025-07-03 17:04:10 +02:00
2025-03-21 08:04:58 +01:00
2024-06-23 11:43:12 +02:00
2024-06-07 23:09:52 +02:00
2023-07-22 10:47:04 +10:00
2025-04-20 16:06:15 +02:00
2025-08-01 10:35:16 +02:00
2025-03-22 11:04:28 +01:00
2025-03-21 08:04:58 +01:00
2025-03-21 08:04:58 +01:00