]> Sergey Matveev's repositories - public-inbox.git/commit
init: preserve permissions of existing config file
authorEric Wong <e@80x24.org>
Mon, 12 Dec 2016 12:02:45 +0000 (12:02 +0000)
committerEric Wong <e@80x24.org>
Mon, 12 Dec 2016 12:04:23 +0000 (12:04 +0000)
commit3043725a10eae59a71c25ba5e4d424a49326afd7
tree6d18b1c384c087ed29a6f74a57a8aa5611889c4b
parent53e8cfbe4e06e5ae6ad61fb7e9bd45804c253a72
init: preserve permissions of existing config file

This matches git-config(1) behavior, and implied user
intent when it comes to programatically editing files.
script/public-inbox-init
t/init.t