You can choose --name-status. How --name-onlyis this actually a git-diff option; git -log accepts them to determine how it will display patches.
git log -n 1
Or equivalently (minus the log header):
git diff --name-status HEAD^ HEAD
isbadawi, git -whatchanged. git -log diff:
git whatchanged -n 1
, --name-status , , blob, , .