Align level parity docs and fetch/status validation

- Add LevelsCompare.md with setup and validation comparisons against Gazler/githug.
- Document that LevelsCompare.md must be updated when level behavior changes.
- Track FETCH_HEAD count in RepoState so the Fetch level can match upstream validation.
- Mirror upstream Status setup with staged files plus untracked database.yml.
- Keep Fetch from being solved by pull despite native Git FETCH_HEAD behavior.
- Bump app version and build debug APK.
This commit is contained in:
Joe Tretter
2026-05-11 21:34:28 -05:00
parent 316323a00c
commit 4bac818571
11 changed files with 228 additions and 12 deletions

View File

@@ -101,7 +101,8 @@ class LevelSolutionsTest {
@Test
fun reportedRegressionCommandsDoNotSolveLevels() {
val statusRepo = statusLevel().setup()
assertEquals(listOf("database.yml"), statusRepo.files.map { it.name })
val untrackedStatusFiles = statusRepo.files.filter { !it.staged && !it.tracked && !it.deleted }.map { it.name }
assertEquals(listOf("database.yml"), untrackedStatusFiles)
val gitBinary = testGitBinary()
val runtimeRoot = testSandboxRoot().apply {
@@ -185,6 +186,7 @@ class LevelSolutionsTest {
appendLine("config=${config.toSortedMap()}")
appendLine("stashes=$stashes")
appendLine("fetchedBranches=${fetchedBranches.sorted()}")
appendLine("fetchHeadCount=$fetchHeadCount")
appendLine("pushedBranches=${pushedBranches.sorted()}")
appendLine("pushedTags=${pushedTags.sorted()}")
appendLine("submodules=${submodules.toSortedMap()}")