Skip to content
Snippets Groups Projects
Commit e65d532d authored by Vladimir Davydov's avatar 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

(cherry picked from commit 642584fd)
parent ce06ab74
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