Skip to content
Snippets Groups Projects
Commit 642584fd authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Vladimir Davydov
Browse files

git: add diff=cpp attribute for C/C++ source files

This improves diff hunk name detection. Needed for checkpatch to
correctly detect if patched code belongs to a function.

NO_DOC=git
NO_TEST=git
NO_CHANGELOG=git
parent 19437b6c
No related branches found
No related tags found
No related merge requests found
*.snap binary
*.xlog binary
*.c diff=cpp
*.h diff=cpp
*.cc diff=cpp
*.hh diff=cpp
*.cpp diff=cpp
*.hpp diff=cpp
*.c++ diff=cpp
*.h++ diff=cpp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment