Skip to content
Snippets Groups Projects

disable git diff colors in git lb-push

Merged Paul Seyfert requested to merge pseyfert-NoGitColor into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -289,7 +289,7 @@ def main():
git(['checkout', '--quiet', commit, '--', pkg], cwd=tmprepo)
pkgs_to_patch = list(commit_info['packages'] - commit_info['first'])
if pkgs_to_patch:
patch = git_o(['log', '-p', '-n', '1', commit, '--'] +
patch = git_o(['log', '--no-color', '-p', '-n', '1', commit, '--'] +
pkgs_to_patch, cwd=tmprepo, no_strip=True)
if patch:
proc = Popen(['git', 'apply', '--index'], stdin=PIPE, cwd=tmprepo)
Loading