preferences need username and email for commit messages for the iphone app #76
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
git expects a user name and an email, so t hey should be setable in preferences (the equivalent of git config). commits must then use those configured settings for commits.
Implemented in commit
009db5c. Added storage-owned git.user_name/git.user_email configuration with atomic persistence and validation, routed every iPhone-created entry/tree/pull commit through the configured GitIdentity, exposed typed UniFFI accessors, and added the native Preferences editor. Verification: focused config contract; cargo fmt --all -- --check; RUSTFLAGS=-D warnings cargo check --workspace --all-targets; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace; xcodegen generate; warning-as-error iPhone 17 Pro simulator build; Xcode analyze; Computer Use edit/save/restart persistence check; biometric lock/unlock check; and a signed Release-iphoneos build installed successfully on paired iPhone 8B5791CA-AFFE-5B6B-818B-DD0E908E12C7.