From: Mathias Klette Date: Thu, 15 Sep 2011 16:01:32 +0000 (+0200) Subject: fix: git fails when commiting non existent files X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=02779f5cc7e72fd247e691a579ff0a99a7282c54;p=profitbricks%2Fjenkins-build-scripts.git fix: git fails when commiting non existent files --- diff --git a/debian_build.py b/debian_build.py index ee5f0dd..07c9157 100755 --- a/debian_build.py +++ b/debian_build.py @@ -284,10 +284,7 @@ if __name__ == '__main__': cleanup_files = ('.gbp.conf', 'debian/gbp.conf', '.git/gbp.conf') result = git_helper.git_cleanup_branch(cleanup_files) - result = git_helper.git_commit( - "Cleanup branch for correct builds.", - cleanup_files - ) + result = git_helper.git_commit("Cleanup branch for correct builds.") pb_version_path = os.path.join('debian', 'pb_version')