Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Replace a read-only age file without asking
mv asks before replacing a file it cannot write when stdin is a terminal, and the age hook sends the question to /dev/null. git always gives a hook a pipe, but a hook run by hand from a terminal waited on an answer no one could see and then kept the old date.
Diffstat (limited to 'custom/hooks')
-rwxr-xr-xcustom/hooks/post-receive.cgit-age2
1 file changed, 1 insertion, 1 deletion