Whenever I want to commit only some hunks of a file, this always
commited the full file when it updated the lastmod frontmatter of
changed files.
making different commits for unrelated changes impossible (but it always
held the lastmod date as accurate as possible)
hope this helps