Dominik Maier says commit 062d90b2a8 taught cmd_mv() to reject destinations whose leading path contains a symlink, using has_symlink_leading_path(). The test for mv -f used a dangling symlink, so lstat(dst) failed and execution reached the new check.
If the target file beyond the symlinked directory exists on disk, lstat(dst) succeeds. With -f, bad is cleared and an unconditional goto act_on_entry skips src_for_dst, has_symlink_leading_path() and the sparse-checkout checks. The file is then overwritten through the symlink.
Maier's patch jumps to act_on_entry only when bad is non-NULL, so forced overwrites still go through the checks. The excerpts show no review comments.
The same author posted several other single-patch fixes the same day. They cover bounds validation in ewah_read_mmap() and in delta header reads in packfile.c, stale v2 server capabilities across handshakes in connect.c, and rejecting remote --add-file in archive. They also cover leading-symlink traversal in attr handling, hex validation of the state-branch map in filter-branch, and shell avoidance in git-cvsexportcommit. None of these threads shows replies yet.