<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/diff3/tests, 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:03Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:55:03Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf'/>
<id>urn:sha1:d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
</entry>
<entry>
<title>diff3: Remove test case that references non existent test files</title>
<updated>2022-05-02T15:00:44Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2022-05-02T15:00:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c1c381eb7f82ecfec24b56c96c216dd160f2e3ea'/>
<id>urn:sha1:c1c381eb7f82ecfec24b56c96c216dd160f2e3ea</id>
<content type='text'>
Sponsored by:	Klara, Inc.
</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: allow diff3 ed scripts to generate deletions</title>
<updated>2022-04-15T14:00:59Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2022-04-15T13:59:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7c03df6855f451749501748b98019c8e2d9d9600'/>
<id>urn:sha1:7c03df6855f451749501748b98019c8e2d9d9600</id>
<content type='text'>
diff3 with the -e (ed script flag) can generate line deletions, add
support for deletions and add a test case to exercise this behaviour.
This functionality was unearthed through comparison of bsd diff3 and gnu
diff3 output.

Reviewed by:	pstef
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D34912
</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>DIRDEPS_BUILD: Connect new directories.</title>
<updated>2017-10-31T00:04:07Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-10-31T00:04:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3806950135d2c8633ec0764e8807eacc87cf3e10'/>
<id>urn:sha1:3806950135d2c8633ec0764e8807eacc87cf3e10</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>For now comment tests for arguments which are not in par with GNU diff3 yet</title>
<updated>2017-05-25T17:58:01Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-05-25T17:58:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cb5a670ececeae05a9c1e90a56f71b4219342ef5'/>
<id>urn:sha1:cb5a670ececeae05a9c1e90a56f71b4219342ef5</id>
<content type='text'>
</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>
