Merge branch 'master' of git://git.denx.de/u-boot into master
[oweals/u-boot.git] / tools / patman / gitutil.py
index 59eca99341371a5cca58d80cac721d330a2c13e7..72d37a0b04e5bd752b107a95c15c700f33ff4164 100644 (file)
@@ -38,7 +38,7 @@ def CountCommitsToBranch():
     Return:
         Number of patches that exist on top of the branch
     """
-    pipe = [['git', 'log', '--oneline', '@{upstream}..'],
+    pipe = [['git', 'log', '--no-color', '--oneline', '@{upstream}..'],
             ['wc', '-l']]
     stdout = command.RunPipe(pipe, capture=True, oneline=True)
     patch_count = int(stdout)