Skip to content

Commit

Permalink
[clang-format] Fix a bug in git-clang-format.bat (#75268)
Browse files Browse the repository at this point in the history
Pass the fully-qualified path name (less the file extension) of
git-clang-format.bat to py so that it can be run from anywhere.

Fixes #75265.
  • Loading branch information
owenca committed Dec 13, 2023
1 parent 2a9d8ca commit c3fa4b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/tools/clang-format/git-clang-format.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
py -3 git-clang-format %*
py -3 %~pn0 %*

0 comments on commit c3fa4b7

Please sign in to comment.