<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/diff3/diff3.1, branch releng/14.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-16T17:55:15Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line nroff pattern</title>
<updated>2023-08-16T17:55:15Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b2c76c41be32f904179efed29c0ca04d53f3996c'/>
<id>urn:sha1:b2c76c41be32f904179efed29c0ca04d53f3996c</id>
<content type='text'>
Remove /^\.\\"\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>diff3: Add man page description for version and help</title>
<updated>2022-06-23T12:37:28Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2022-06-23T12:37:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=26b5deef22ae316646b6bd173414826a9598b666'/>
<id>urn:sha1:26b5deef22ae316646b6bd173414826a9598b666</id>
<content type='text'>
Reviewed by:	Pau Amma
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D35325
</content>
</entry>
<entry>
<title>diff3: Add support for -m</title>
<updated>2022-04-19T15:20:24Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2022-04-19T15:20:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=034dd2d54f2e7e33897cfd5ede7c50b3d67d18d3'/>
<id>urn:sha1:034dd2d54f2e7e33897cfd5ede7c50b3d67d18d3</id>
<content type='text'>
diff3 in -m mode generates a complete file with changes bracketed with
conflict markers. This adds support for diff3 to generate version
control style three way merge output.

The output format was inferred from looking at the gnu diff3 output on a
selection of test files as a specification of what diff3 -m should
output is not available. It is likely there are cases where the -m
output differs from other tools and I am happy to update diff3 to
address these.

Discussed with:	pstef, kevans
Sponsored by:	Klara, Inc.
</content>
</entry>
<entry>
<title>diff3: Add support for -A</title>
<updated>2022-04-19T14:54:32Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2022-04-19T14:43:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ab079c5e81098c81e8b25f26a3b56392eac5463'/>
<id>urn:sha1:9ab079c5e81098c81e8b25f26a3b56392eac5463</id>
<content type='text'>
Diff3 in -A mode generates an ed script to show how the 3 files and
brackets changes that conflict. The ed script generated should when
applied leave familiar merge conflict markers in a patched file.

Diff3 output is not documented, this feature has been arrived at by
comparing bsd diff3 output to gnu diff3 output until they were made to
agree. There are likely to still be differences between these formats.

The gnu diff3 guide is actually quite good at explaining how diff3
output should appear, but it doesn't cover every form of output from
diff3.

https://www.gnu.org/software/diffutils/manual/diffutils.html#Comparing-Three-Files

Discussed with:	pstef, kevans
Sponsored by:	Klara, Inc.
</content>
</entry>
<entry>
<title>diff3: document and test -T</title>
<updated>2021-08-25T16:20:59Z</updated>
<author>
<name>Piotr Pawel Stefaniak</name>
<email>pstef@FreeBSD.org</email>
</author>
<published>2021-08-23T19:33:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f7a81b133c715f649136dcd0ad004e4180c56c9'/>
<id>urn:sha1:9f7a81b133c715f649136dcd0ad004e4180c56c9</id>
<content type='text'>
Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D31650
</content>
</entry>
<entry>
<title>diff3: implement --strip-trailing-cr</title>
<updated>2021-08-23T05:04:28Z</updated>
<author>
<name>Piotr Pawel Stefaniak</name>
<email>pstef@FreeBSD.org</email>
</author>
<published>2021-08-21T00:28:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54a3415cb69e1ea0e6533ca3fc168deba64f249f'/>
<id>urn:sha1:54a3415cb69e1ea0e6533ca3fc168deba64f249f</id>
<content type='text'>
Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D31626
</content>
</entry>
<entry>
<title>diff3.1: update manual page to match code</title>
<updated>2021-08-23T05:04:28Z</updated>
<author>
<name>Piotr Pawel Stefaniak</name>
<email>pstef@FreeBSD.org</email>
</author>
<published>2021-08-20T22:50:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e8ff95356ceaaa941251056e9d0a4211bf428e06'/>
<id>urn:sha1:e8ff95356ceaaa941251056e9d0a4211bf428e06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update the diff3 manpage to reflect the fact the version in freebsd does</title>
<updated>2017-05-25T18:46:13Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-05-25T18:46:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9500abb088b81472d52941ad73f592396a684af8'/>
<id>urn:sha1:9500abb088b81472d52941ad73f592396a684af8</id>
<content type='text'>
not use temporary files nor uses a /usr/libexec/diff3prog
</content>
</entry>
<entry>
<title>Import working progress BSD diff3</title>
<updated>2017-05-25T17:45:50Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-05-25T17:45:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e1910ebda4d5972aef64aaf67ea7bcbbba16fa4f'/>
<id>urn:sha1:e1910ebda4d5972aef64aaf67ea7bcbbba16fa4f</id>
<content type='text'>
import bsd diff3 from OpenBSD.
Differences with OpenBSD:
- lots of warning fixed
- no shell wrapper with diff3 actually living in libexec
- capsicumized

Keep it disconnected as it is not yet good enough to replace GNU diff

The motivation to import it now it to allow other people to jump in and also to
have an open development on it

Obtained from:	OpenBSD
</content>
</entry>
</feed>
