File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 1912
1912
preferpartial = del Path prefix*.txt
1913
1913
preferpartial = Path prefix.txt
1914
1914
\end {verbatim }
1915
+ \item
1916
+ An associated string can also be defined and recorded without setting the
1917
+ corresponding preference by an assoc pattern, that is any pattern prefixed by
1918
+ \texttt {assoc } separated exactly by one space. Any (preceding or following)
1919
+ (positive) pattern can set the preference independently without having to
1920
+ specify an associated string.
1921
+
1922
+ For example one can define a generic merge command without enbaling the
1923
+ \verb |merge | preference, then select some paths to merge without having to give
1924
+ the merge command again and again:
1925
+ \begin {verbatim }
1926
+ merge = assoc Name *.txt -> mergecmd CURRENT1 CURRENT2
1927
+ merge = Path prefix*.txt
1928
+ \end {verbatim }
1915
1929
\end {itemize }
1916
1930
Some examples of path patterns appear in \sectionref {ignore }{Ignoring
1917
1931
Paths}.
You can’t perform that action at this time.
0 commit comments