Add documentation for the "use-patchdiff" option introduced in the first patch of this patchset. This option allows for applying a semantic patch to only those files in a directory where code additions have been made.
Signed-off-by: Sumera Priyadarsini <sylphrena...@gmail.com> --- docs/manual/spatch_options.tex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/manual/spatch_options.tex b/docs/manual/spatch_options.tex index 223365bb5..afc55aa22 100644 --- a/docs/manual/spatch_options.tex +++ b/docs/manual/spatch_options.tex @@ -217,6 +217,11 @@ intereted relative to the target directory. If the filename is an absolute path name, beginning with /, it is used as is. } +\normal{-{}-use-patchdiff}{ This option allows for applying a semantic patch + to only the files that have been modified in a directory. The directory needs + to be specified by the user. Note that an absolute path needs to be used if + spatch is called from outside the target project directory. } + \normal{-{}-use-coccigrep}{ Use a version of grep implemented in Coccinelle to check that selected files are relevant to the semantic patch. This option is only relevant to the case of working on a complete directory, -- 2.31.1 _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci