summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-12-27 09:23:09 +0000
committerSean Whitton <spwhitton@spwhitton.name>2016-12-27 09:23:09 +0000
commit918aa66046b39f5a22a4716953268bcfd26094ab (patch)
tree2d6824f337e61180f008fa43f25531038a1f9494 /.gitconfig
parent53604264966db9b97e76dbcfa93c9c3bbcdca988 (diff)
downloaddotfiles-918aa66046b39f5a22a4716953268bcfd26094ab.tar.gz
tidy up & extend dgit config
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig17
1 files changed, 14 insertions, 3 deletions
diff --git a/.gitconfig b/.gitconfig
index b6d50c78..584a0818 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -112,10 +112,21 @@
[gcrypt]
publish-participants = true
participants = 0x0F56D0553B6D411B
-[dgit "default"]
- clean-mode = git
- rm-old-changes = true
+
+# make git-archive(1) DTRT with -o foo.tar.{xz,gz}
[tar "tar.xz"]
command = xz -c
[tar "tar.gz"]
command = gzip -c
+
+# dgit configuration
+[dgit "default"]
+ # just clean in the most aggressive way dgit knows how
+ clean-mode = git-ff
+ rm-old-changes = true
+ distro = debian
+[dgit-distro "debian"]
+ # default to uploading by ssh. Host-specific branches of
+ # dotfiles repo can tweak this to ftp-master or ftp-eu if that
+ # turns out to work better down their Internet pipes
+ upload-host = ssh-upload