summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess2018-01-06 13:48:24 -0400
committerJoey Hess2018-01-06 13:48:24 -0400
commit1b28691684656c3652808340f1d2ef8c1ea79fb7 (patch)
treebcdffe30346ec9783edc7b5778f432cb22e4d051 /doc
parent79bc2ac68fd414a11b9a94d1ebdf6893495846c3 (diff)
response
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/etckeeper/comment_5_af3b29e3e066c05e4b5a0004f0e57926._comment18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/todo/etckeeper/comment_5_af3b29e3e066c05e4b5a0004f0e57926._comment b/doc/todo/etckeeper/comment_5_af3b29e3e066c05e4b5a0004f0e57926._comment
new file mode 100644
index 00000000..11e59e2c
--- /dev/null
+++ b/doc/todo/etckeeper/comment_5_af3b29e3e066c05e4b5a0004f0e57926._comment
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 5"""
+ date="2018-01-06T17:38:34Z"
+ content="""
+I avoid those warnings with properties that clone dotfiles repos containing
+.gitconfig for root and users who can sudo.
+
+It would be fine to have a property to configure them in
+/etckeeper/.git/config, if you wanted to write it.
+I think this would do it:
+
+ Git.repoConfigured "/etc/" ("user.name", "whatever")
+ Git.repoConfigured "/etc/" ("user.email", "whatever@whatever")
+
+Those would only be used when the user running etckeeper has not configured
+it in their own ~/.gitconfig
+"""]]