Peter Chanthamynavong
12858f5146
fix(doctor): recognize lowercase 's' skip-worktree flag ( #931 )
...
* fix(doctor): handle 's' status in combined git flags
Problem:
- Git status detection failed when 's' was combined with other flags
- Branch synchronization checks produced incorrect results due to missing flag parsing
Solution:
- Update detection logic to correctly identify the 's' status within combined flag strings
Impact:
- Ensures branch synchronization state is accurately reported during doctor checks
* test(doctor): add unit tests for git flag parsing
- Extract git flag parsing logic into parseGitLsFilesFlag helper
- Add unit tests for git flag parsing logic
Coverage: Git flag parsing in sync_branch.go
2026-01-06 19:22:51 -08:00
..
2026-01-06 19:22:51 -08:00
2026-01-02 00:19:14 -08:00
2026-01-04 23:08:58 -08:00
2026-01-01 10:51:51 -08:00
2026-01-03 11:53:14 -08:00
2026-01-03 13:25:15 -08:00
2026-01-03 13:25:15 -08:00
2026-01-06 19:05:34 -08:00
2026-01-06 12:52:19 -08:00
2026-01-04 15:43:57 -08:00
2026-01-06 18:59:25 -08:00
2026-01-06 19:05:34 -08:00
2026-01-06 18:59:25 -08:00
2026-01-06 19:05:34 -08:00
2026-01-02 00:02:20 -08:00
2026-01-01 10:46:56 -08:00
2026-01-01 10:46:56 -08:00
2026-01-02 14:01:56 -08:00
2026-01-02 16:00:54 -08:00
2026-01-01 10:53:59 -08:00
2026-01-01 20:06:13 -08:00
2026-01-06 18:55:45 -08:00
2025-12-31 13:14:15 -08:00
2026-01-01 10:48:14 -08:00
2026-01-04 11:13:48 -08:00
2026-01-06 19:13:49 -08:00
2026-01-06 19:13:49 -08:00
2026-01-04 10:53:31 -08:00
2026-01-06 19:13:49 -08:00
2025-12-31 13:14:15 -08:00
2025-12-30 16:49:50 -08:00
2026-01-04 16:16:53 -08:00
2026-01-04 11:14:36 -08:00
2026-01-06 12:52:19 -08:00
2026-01-03 13:22:52 -08:00
2026-01-06 18:59:25 -08:00
2026-01-06 19:05:34 -08:00
2026-01-04 16:20:04 -08:00
2026-01-06 19:05:34 -08:00
2026-01-03 21:07:32 -08:00
2026-01-06 12:52:19 -08:00
2026-01-06 12:52:19 -08:00
2026-01-06 19:05:34 -08:00
2025-12-31 13:14:15 -08:00
2026-01-06 18:59:25 -08:00
2025-12-31 13:14:15 -08:00
2025-12-31 13:14:15 -08:00
2025-12-31 11:39:17 -08:00
2026-01-06 18:55:45 -08:00
2026-01-01 18:17:12 -08:00
2026-01-01 10:53:59 -08:00
2026-01-01 10:51:22 -08:00
2026-01-01 11:05:05 -08:00
2026-01-02 16:14:35 -08:00
2026-01-02 13:11:36 -08:00
2026-01-06 19:05:34 -08:00
2025-12-31 13:14:15 -08:00
2026-01-06 19:05:34 -08:00
2026-01-01 19:46:34 -08:00
2026-01-01 19:46:34 -08:00
2026-01-03 13:27:36 -08:00
2026-01-03 13:27:36 -08:00
2026-01-04 23:08:58 -08:00
2025-12-30 20:40:09 -08:00
2026-01-06 12:52:19 -08:00
2026-01-06 15:22:15 -08:00
2026-01-06 15:22:15 -08:00
2026-01-01 10:51:51 -08:00
2026-01-06 19:05:34 -08:00
2025-12-30 16:58:10 -08:00
2025-12-30 16:58:10 -08:00
2026-01-01 14:18:49 -08:00
2026-01-01 20:06:13 -08:00
2026-01-04 23:51:02 -08:00
2026-01-01 23:55:40 -08:00
2026-01-02 00:02:20 -08:00
2026-01-02 18:03:27 -08:00
2025-12-31 00:33:11 -08:00
2025-12-31 13:08:41 -08:00
2025-12-31 13:04:19 -08:00
2026-01-02 14:08:22 -08:00
2026-01-02 16:00:54 -08:00
2026-01-02 01:31:19 -08:00
2026-01-06 19:05:34 -08:00
2026-01-04 16:24:18 -08:00
2026-01-04 16:24:18 -08:00
2025-12-31 00:33:11 -08:00
2025-12-31 00:05:53 -08:00
2026-01-01 10:51:51 -08:00
2026-01-06 12:52:19 -08:00
2026-01-06 12:52:19 -08:00
2026-01-01 20:06:13 -08:00
2026-01-01 20:06:13 -08:00
2026-01-06 19:05:34 -08:00
2026-01-06 19:05:34 -08:00
2026-01-04 10:53:31 -08:00
2026-01-04 10:53:31 -08:00
2026-01-04 10:53:31 -08:00
2025-12-31 13:14:15 -08:00
2026-01-06 18:59:25 -08:00
2025-12-31 13:14:15 -08:00
2026-01-05 22:06:52 -08:00
2026-01-04 17:30:04 -08:00
2026-01-06 18:59:25 -08:00
2026-01-04 15:21:36 -08:00
2026-01-03 13:27:36 -08:00
2025-12-30 18:04:26 -08:00
2025-12-30 18:11:08 -08:00
2026-01-04 15:16:07 -08:00
2026-01-04 16:22:20 -08:00
2026-01-05 19:57:19 -08:00
2026-01-06 18:51:38 -08:00
2026-01-06 12:52:19 -08:00
2025-12-30 18:11:08 -08:00
2026-01-02 00:05:12 -08:00
2026-01-06 18:51:38 -08:00
2026-01-03 12:44:16 -08:00
2026-01-06 12:52:19 -08:00
2026-01-06 18:59:25 -08:00
2026-01-06 18:59:25 -08:00
2025-12-30 17:14:55 -08:00
2026-01-02 01:07:34 -08:00
2026-01-04 23:08:58 -08:00
2026-01-01 23:55:40 -08:00
2026-01-06 18:45:27 -08:00
2026-01-06 18:45:27 -08:00