AgeCommit message (Collapse)AuthorLines
Replace a read-only age file without askingBryce Kwon-1/+1
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.
Say what the age hook does with a read-only fileBryce Kwon-3/+4
The header said a file the pusher cannot write stays as it was, but the hook replaces it through mv, which needs only the directory, and with stdin not a terminal mv does so without asking. That is the useful behaviour, so the header now says so, and a test holds the hook to it. Only a directory the pusher cannot write keeps the old file, which was the one case tested.
Spell non-zero the way the tree doesBryce Kwon-1/+1
Point each hook at the other hooks hereBryce Kwon-2/+5
The cache hook named only the age-file hook, from before the commit-graph hook came.
Keep the age hook quiet when it cannot writeBryce Kwon-5/+7
Keep the age hook's directory group writableBryce Kwon-2/+11
The hook forced a 022 umask, so in a repository shared with a group the first pusher owned info/web and every other member's push failed to write the age file there.
Unify the docs, samples and extensionsBryce Kwon-15/+10
Clean up the whole treeBryce Kwon-2/+1
Rename the inconsistent config keysBryce Kwon-2/+2
The old spellings are no longer read. enable-header and enable-plain-email take the opposite value of the noheader and noplainemail they replace.
Rename the agefile hook to cgit-ageBryce Kwon-0/+0