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-04-12 08:33:47 +02:00
2024-04-12 08:33:47 +02:00
2024-01-10 09:11:40 +01:00
2025-04-09 10:40:52 +02:00
2025-07-09 13:15:03 +02:00
2024-12-01 10:59:54 +01:00
2025-10-10 12:49:42 +02:00
2025-03-20 12:31:34 +01:00
2025-03-20 12:31:34 +01:00
2025-07-31 15:50:53 +02:00
2025-07-31 15:50:53 +02:00
2025-07-27 12:05:41 +02:00
2025-08-20 10:39:55 +02:00
2025-08-20 10:39:55 +02:00
2023-10-08 18:45:36 +02:00
2025-08-19 10:43:28 +02:00
2025-04-09 10:44:36 +02:00
2025-06-30 19:13:20 +02:00
2025-08-20 10:39:55 +02:00
2025-07-09 13:15:03 +02:00
2025-07-09 13:15:03 +02:00
2025-07-08 16:32:21 +02:00
2025-07-08 16:32:21 +02:00
2024-05-19 16:38:21 +10:00
2025-05-01 15:21:37 +02:00
2023-07-30 18:35:23 +10:00
2025-06-30 19:13:20 +02:00
2025-07-31 15:21:34 +02:00
2025-07-03 16:56:30 +02:00
2025-10-10 12:55:58 +02:00
2025-10-10 12:55:58 +02:00
2025-07-27 12:05:41 +02:00
2025-07-27 12:05:41 +02:00
2025-07-09 13:15:03 +02:00
2024-12-01 10:59:54 +01:00
2025-07-09 12:18:58 +02:00
2025-07-09 12:18:58 +02:00
2025-08-25 19:23:30 +02:00
2025-08-25 19:23:30 +02:00
2025-08-20 10:39:55 +02:00
2025-08-20 10:39:55 +02:00
2025-04-20 15:53:17 +02:00
2025-06-30 19:13:20 +02:00
2025-07-09 12:18:58 +02:00
2025-07-09 12:18:58 +02:00
2025-07-28 10:53:51 +02:00
2025-07-28 10:53:51 +02:00
2025-07-28 10:53:51 +02:00
2024-01-10 09:18:38 +01:00
2024-01-10 09:18:38 +01:00
2025-07-09 13:15:03 +02:00
2025-10-09 08:45:58 +02:00
2025-07-09 12:18:58 +02:00
2025-07-09 12:18:58 +02:00
2023-07-30 18:35:24 +10:00