From e531a934bfb3c7f077a2b55d820d9f4180423f30 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Tue, 5 May 2020 21:39:56 +0200
Subject: [PATCH] fix: fetch file list from head not origin

---
 lib/platform/git/storage.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/platform/git/storage.ts b/lib/platform/git/storage.ts
index 8e11ffa6b8..00bf651fb4 100644
--- a/lib/platform/git/storage.ts
+++ b/lib/platform/git/storage.ts
@@ -308,7 +308,7 @@ export class Storage {
       'ls-tree',
       '-r',
       '--name-only',
-      'origin/' + branch,
+      branch,
     ]);
     // istanbul ignore if
     if (!files) {
-- 
GitLab