From: Ian Jackson Date: Sun, 8 Jan 2017 00:52:59 +0000 (+0000) Subject: git fetching: Use basedistro for lrfetchrefs X-Git-Tag: archive/debian/3.0~73 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=126f7b579c7954450521b05b745891eee0fd338d;ds=sidebyside 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 --- 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