summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-08 00:52:59 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-08 22:14:48 +0000
commit126f7b579c7954450521b05b745891eee0fd338d (patch)
tree2843875263ad14e72187bac68d7557a61df55af9 /dgit
parent2fe296ae59c5cde0420f58c8a958b2e72a8a3402 (diff)
git fetching: Use basedistro for lrfetchrefs
These do not need to vary with the suite, because the refs are named, within this namespace, after the corresponding refs on the server. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index 667919c..2427f72 100755
--- a/dgit
+++ b/dgit
@@ -2485,7 +2485,7 @@ sub ensure_we_have_orig () {
#---------- git fetch ----------
-sub lrfetchrefs () { return "refs/dgit-fetch/$csuite"; }
+sub lrfetchrefs () { return "refs/dgit-fetch/".access_basedistro(); }
sub lrfetchref () { return lrfetchrefs.'/'.server_branch($csuite); }
# We fetch some parts of lrfetchrefs/*. Ideally we delete these