From 641292893240af7b3fd429351cede2fb80a3e99b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 30 Oct 2016 21:59:43 +0000 Subject: Properly fetch all archive dgit view tags, as we intended. This deals with the possible "bad object" problem from an in-archive copy. Any such in-archive copy should come with either an update to the suite branch on the dgit-repos server (if maybe it needed a pseudomerge for centrally maintained history), or be identical to the upload's version tag. Signed-off-by: Ian Jackson --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dgit') diff --git a/dgit b/dgit index b17ed21..f494bb4 100755 --- a/dgit +++ b/dgit @@ -2337,7 +2337,7 @@ END # OK, now %want is exactly what we want for refs in @specs my @fspecs = map { - return () if !m/\*$/ && !exists $wantr{"refs/$_"}; + !m/\*$/ && !exists $wantr{"refs/$_"} ? () : "+refs/$_:".lrfetchrefs."/$_"; } @specs; -- cgit v1.2.3