fix(hooks): preserve unstaged changes during pre-commit format
Stash unstaged changes before running swiftformat/swiftlint so the
re-stage step doesn't clobber partial staging from git add -p. Pop
the stash on exit.
authored by