remove repetitive function call
Add an argument to vc-git-dired-reset-patch to control the --cached option
Use emerge-buffers-with-ancestor to make all patches prefer-B
add a quit-hook that writes the reset file