From 3d1e34b0be262a611ae91a2c24b0f99de9671faf Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Thu, 29 Oct 2015 12:38:50 +0100 Subject: do not cleanup .diff/Index files on Hit Git-Dch: Ignore --- apt-pkg/acquire-item.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index 5fda1439c..b5478e9a7 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -1114,6 +1114,9 @@ void pkgAcqMetaBase::QueueIndexes(bool const verify) /*{{{*/ if (filename.empty() == false) { new NoActionItem(Owner, *Target, filename); + std::string const idxfilename = GetFinalFileNameFromURI(Target->URI + ".diff/Index"); + if (FileExists(idxfilename)) + new NoActionItem(Owner, *Target, idxfilename); continue; } -- cgit v1.2.3