diff --git a/third_party/clang-format/git-clang-format b/third_party/clang-format/git-clang-format index 1a1a5aff1..683581027 100644 --- a/third_party/clang-format/git-clang-format +++ b/third_party/clang-format/git-clang-format @@ -522,7 +522,7 @@ def apply_changes(old_tree, new_tree, force=False, patch_mode=False): def run(*args, **kwargs): - stdin = kwargs.pop('stdin', '') + stdin = kwargs.pop('stdin', to_bytes('')) verbose = kwargs.pop('verbose', True) strip = kwargs.pop('strip', True) for name in kwargs: