[clang] [clang-format] Add "three dot" diff option to git-clang-format (PR #74230)

Aiden Grossman via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 3 13:08:33 PST 2023


================
@@ -153,7 +157,10 @@ def main():
   else:
     if len(commits) > 2:
       die('at most two commits allowed; %d given' % len(commits))
-  changed_lines = compute_diff_and_extract_lines(commits, files, opts.staged)
+  changed_lines = compute_diff_and_extract_lines(commits,
----------------
boomanaiden154 wrote:

Fixed. Thanks for the suggestion!

https://github.com/llvm/llvm-project/pull/74230


More information about the cfe-commits mailing list