From 126f7b579c7954450521b05b745891eee0fd338d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Jan 2017 00:52:59 +0000 Subject: [PATCH] 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 --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dgit b/dgit index 667919c4..2427f72c 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 -- 2.30.2