Skip to content

Conversation

@mlouielu
Copy link
Contributor

Fix #10

newfile=`mktemp /tmp/${nf}.XXXXXX` || exit 1
$CLANG_FORMAT $nf > $newfile 2>> /dev/null
$DIFF -u -p -B "${nf}" "${newfile}"
tempdir=`mktemp -d /tmp/.git-clang-format-check.XXXXXXXXX` || exit 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you follow the consistent indention?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, indention has changed to space

@jserv jserv merged commit 0f146d6 into sysprog21:master Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clang-format commit hook failed when using <filename>.h

2 participants