summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-06-12 17:09:09 +0100
committerSean Whitton <spwhitton@spwhitton.name>2023-06-13 13:54:14 +0100
commit694dd8b98f1a453f76f0e7d8eee874a8f5a5a0f1 (patch)
tree662f6db4535cce3e82341c319de0508e0412c150 /lib-src
parentcde6c55e427ca03513399e333ff742bab67ed9f1 (diff)
downloaddotfiles-694dd8b98f1a453f76f0e7d8eee874a8f5a5a0f1.tar.gz
configure annex.used-refspec for move-extdrive-unused annexes
These repositories have just one ordinary branch, so "+refs/heads/master" should be exactly equivalent to "+refs/heads/*:-refs/heads/synced/*".
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/git/annex2
-rw-r--r--lib-src/git/lib/annex2
-rw-r--r--lib-src/git/lib/wikiannex3
-rw-r--r--lib-src/git/src/athpriv1
4 files changed, 8 insertions, 0 deletions
diff --git a/lib-src/git/annex b/lib-src/git/annex
index d5ce3f39..f84abe86 100644
--- a/lib-src/git/annex
+++ b/lib-src/git/annex
@@ -6,6 +6,8 @@
startupscan = false
+ used-refspec = +refs/heads/master
+
[push]
default = nothing
diff --git a/lib-src/git/lib/annex b/lib-src/git/lib/annex
index a26012cd..90a5c549 100644
--- a/lib-src/git/lib/annex
+++ b/lib-src/git/lib/annex
@@ -6,6 +6,8 @@
startupscan = false
+ used-refspec = +refs/heads/master
+
[push]
default = matching
diff --git a/lib-src/git/lib/wikiannex b/lib-src/git/lib/wikiannex
index 61143d19..98df8404 100644
--- a/lib-src/git/lib/wikiannex
+++ b/lib-src/git/lib/wikiannex
@@ -1,5 +1,8 @@
# -*- conf -*-
+[annex]
+ used-refspec = +refs/heads/master
+
[remote "origin"]
annex-ignore = true
diff --git a/lib-src/git/src/athpriv b/lib-src/git/src/athpriv
index ee577648..1a052d51 100644
--- a/lib-src/git/src/athpriv
+++ b/lib-src/git/src/athpriv
@@ -4,6 +4,7 @@
addunlocked = true
largefiles = include=*.SCORE or include=*.ADAPT
synconlyannex = true
+ used-refspec = +refs/heads/master
[branch "master"]
rebase = false