[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 03/12] update-lists: Update lists in data in git checkout



Fetch origin and if successful only checkout from origin/master the data
directory.

Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e0154dbbb7..ddf6c2348a 100644
--- a/Makefile
+++ b/Makefile
@@ -204,7 +204,7 @@ update-backports-%:
 	  done ; \
 
 update-lists:
-	[ -d .git/svn ] || svn update -q data
+	git fetch origin && git checkout -f origin/master -- data
 
 # Since October 16, 2015 the XML data feeds are no longer available for
 # download in an uncompressed format.
-- 
2.15.1


Reply to: