-
It is possible to ask diff to only compute changes on specific file patterns, such as extensions. For instance (taken from this answer) :
will only yield changes on Is there any way to achieve something similar with |
Beta Was this translation helpful? Give feedback.
Answered by
ebousse
Jan 10, 2024
Replies: 2 comments
-
Maybe allowing positional arguments in a variable would suffice to enable this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Answering myself: solved using the In my case i did this to only analyse java and asciidoc files:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ebousse
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Answering myself: solved using the
_GIT_PATHSPEC
variable.In my case i did this to only analyse java and asciidoc files: