Skip to content

Commit abe604f

Browse files
committed
Update documentation
Assisted-by: Cursor
1 parent 98c8b85 commit abe604f

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

‎doc/patchutils.xml‎

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,11 @@
162162
<option>-p</option> option to GNU <citerefentry>
163163
<refentrytitle>patch</refentrytitle>
164164
<manvolnum>1</manvolnum>
165-
</citerefentry>.)</para>
165+
</citerefentry>.) If this option is not specified,
166+
<command>interdiff</command> will automatically
167+
determine the optimal number of path components to
168+
strip by finding the smallest value where at least
169+
one file matches between the two patches.</para>
166170
</listitem>
167171
</varlistentry>
168172

@@ -464,7 +468,11 @@
464468
<option>-p</option> option to GNU <citerefentry>
465469
<refentrytitle>patch</refentrytitle>
466470
<manvolnum>1</manvolnum>
467-
</citerefentry>.)</para>
471+
</citerefentry>.) If this option is not specified,
472+
<command>combinediff</command> will automatically
473+
determine the optimal number of path components to
474+
strip by finding the smallest value where at least
475+
one file matches between the two patches.</para>
468476
</listitem>
469477
</varlistentry>
470478

@@ -2922,7 +2930,11 @@ will pipe patch of file #2 to vim - -R
29222930
<option>-p</option> option to GNU <citerefentry>
29232931
<refentrytitle>patch</refentrytitle>
29242932
<manvolnum>1</manvolnum>
2925-
</citerefentry>.)</para>
2933+
</citerefentry>.) If this option is not specified,
2934+
<command>flipdiff</command> will automatically
2935+
determine the optimal number of path components to
2936+
strip by finding the smallest value where at least
2937+
one file matches between the two patches.</para>
29262938
</listitem>
29272939
</varlistentry>
29282940

0 commit comments

Comments
 (0)