How can one create a section of a file thats always expected to be different?
Sample jenkinsfile (basically javascript):
//!beyond-comp:ignorediff
//!beyond-comp:ignorediff-end
Sample CMD script:
REM!beyond-compare:ignorediff
set VAR1=some_specific_value
set VAR2=some_value
REM!beyond-compare:ignorediff-end
Sample YAML:
#!beyond-comp:ignorediff
environment:
- var1: some_specific_value
- var2: some_value
#!beyond-comp:ignorediff-end
primary use case is batch file/jenkinsfile/etc with a section that is 100% expected to be different between repos, ie setting specific values, where its cumbersome to use env variables
I'm assuming theres a Grammar thing to do this, but I looked through it and couldn't make heads or tails of it
To mark text unimportant in Beyond Compare 4's Text Compare for *.cmd files:
*.cmd
.!beyond-compare:ignorediff
.!beyond-compare:ignorediff-end
.Reference: Define Unimportant Text in Beyond Compare.