Skip to content

Commit bd11114

Browse files
chooglengitster
authored andcommitted
cocci: add headings to and reword README
- Drop "examples" since we actually use the patches. - Drop sentences that could be headings instead Signed-off-by: Glen Choo <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 73876f4 commit bd11114

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

contrib/coccinelle/README

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
This directory provides examples of Coccinelle (http://coccinelle.lip6.fr/)
2-
semantic patches that might be useful to developers.
1+
= coccinelle
32

4-
There are two types of semantic patches:
3+
This directory provides Coccinelle (http://coccinelle.lip6.fr/) semantic patches
4+
that might be useful to developers.
5+
6+
== Types of semantic patches
57

68
* Using the semantic transformation to check for bad patterns in the code;
79
The target 'make coccicheck' is designed to check for these patterns and
@@ -42,7 +44,7 @@ There are two types of semantic patches:
4244
This allows to expose plans of pending large scale refactorings without
4345
impacting the bad pattern checks.
4446

45-
Git-specific tips & things to know about how we run "spatch":
47+
== Git-specific tips & things to know about how we run "spatch":
4648

4749
* The "make coccicheck" will piggy-back on
4850
"COMPUTE_HEADER_DEPENDENCIES". If you've built a given object file

0 commit comments

Comments
 (0)