From fba6caa5265fa3c55987cabe5c4d0b3731bea464 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Mon, 4 Jun 2012 15:01:51 +0200 Subject: [PATCH] remove deleted remote tracking branches --- debian_build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian_build.py b/debian_build.py index 003d69a..481f40f 100755 --- a/debian_build.py +++ b/debian_build.py @@ -258,6 +258,10 @@ if __name__ == '__main__': logger.info('Reset and clean repository.') gitcmd = git.Git('.') + logger.debug( + 'git fetch origin --force --prune + %( gitcmd.fetch('--force','--prune').strip() ) + ) logger.debug( 'git reset --hard HEAD:\n%s' %(gitcmd.reset('--hard','HEAD').strip()) -- 2.39.5