diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-08 00:52:59 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-08 22:14:48 +0000 |
commit | 126f7b579c7954450521b05b745891eee0fd338d (patch) | |
tree | 2843875263ad14e72187bac68d7557a61df55af9 | |
parent | 2fe296ae59c5cde0420f58c8a958b2e72a8a3402 (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>
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |