Comhaid
rocm-systems/projects/rocr-runtime/format
T

Ag déanamh neamhairde de leasuithe i .git-blame-ignore-revs. Cliceáil anseo chun seachaint agus an gnáth-amharc milleán a fheiceáil.

7 línte
188 B
Bash
Amh Amharc Gnáth Stair

2024-08-26 15:16:59 +00:00
#!/bin/bash
root=`git rev-parse --show-toplevel`
pushd . > /dev/null
cd $root
git diff -U0 HEAD^ | "${root}/projects/rocr-runtime/clang-format-diff.py" -p1 -i -style=file
2024-08-26 15:16:59 +00:00
popd > /dev/null