It looks like the old behavior before 9ed4181e1b34766f64e38ddee70214ebd324c167 used the >| clobber redirection but that commit changed it to the normal > redirection operator which relies on the shell's settings to have clobber enabled (which isn't always the case).
The proper way for a hook like this that controls the files in question should just clobber it.
It looks like the old behavior before 9ed4181e1b34766f64e38ddee70214ebd324c167 used the
>|
clobber redirection but that commit changed it to the normal>
redirection operator which relies on the shell's settings to have clobber enabled (which isn't always the case).The proper way for a hook like this that controls the files in question should just clobber it.