]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix: git fails when commiting non existent files
authorMathias Klette <mathias.klette@profitbricks.com>
Thu, 15 Sep 2011 16:01:32 +0000 (18:01 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Thu, 15 Sep 2011 16:01:32 +0000 (18:01 +0200)
debian_build.py

index ee5f0ddcc2829f8ecb4742cfe2b664109e6c2bc6..07c91576680a4f3853eef7ced0e5f20365ca7f70 100755 (executable)
@@ -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')