mirror of
https://github.com/expo/code-review-cli.git
synced 2026-11-14 17:49:25 -10:00
- Local diffs also pass --submodule=short and --ignore-submodules=dirty, so diff.submodule=log|diff, diff.ignoreSubmodules=all and ignore = all in .gitmodules can't hide or rewrite a submodule pointer change, and edits inside a submodule whose pointer didn't move aren't sent for review. - The tests remove every GIT_* variable and point HOME and XDG_CONFIG_HOME at an empty directory, so a hook's GIT_DIR/GIT_INDEX_FILE or the user's global git files can't touch another repo or fail the fixtures. - New tests: deletions under diff.noprefix and diff.mnemonicPrefix (the only case --src-prefix protects), and the submodule settings above. - LLP 0004 and 0008 line references updated.