upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorOreoFR <29048345+OreoFR@users.noreply.github.com>2026-12-03 03:22:52 +0100
committerOreoFR <29048345+OreoFR@users.noreply.github.com>2026-12-03 03:22:52 +0100
commite4af10dc191f6ce972ffdf2b91fcf1f06caa51c8 (patch)
tree716fe6abce754b0703a1fccfc4e4dc721a08ae5a /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parent6d9a22f585a55cc556e073d94f5ba13a4bec56ee (diff)
launcher: a zip copy's conversion stops on a folder/file in the way, before writing anything
merzleckeier's review of c22cd85ed: a local folder where the repository tracks a file (layout/local-notes.txt vs a tracked `layout`), or a local file where it tracks a folder (`settings` vs settings/defaults.txt), was replaced by `git checkout HEAD -- .` with no copy in the backup (the backup takes `--diff-filter=MT`, files only), and the update returned 0. zip_collisions(repo, paths) names those: a real folder at a path the branch has as a file, or a file or link at one of a path's parent folders. When there is one, zip_to_clone stops before the backups and the checkout, says which ones to move or rename, and removes the new .git: the copy is a zip copy again, every file as it was. Tests: two real-git cases (a folder where a file goes, a file where a folder goes: code not 0, the local content intact, no .git, a zip copy again, nothing written) and zip_collisions on its own. 109 tests OK; with zip_collisions returning nothing (the old behaviour) both real-git cases fail. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions