#
64793e74 |
| 07-Feb-2020 |
Baptiste Daroussin <bapt@FreeBSD.org> |
diff: implement -y (--side-by-side) along with -W and --suppress-common-lines
PR: 219933 Submitted by: fehmi noyan isi <fnoyanisi@yahoo.com> MFC after: 3 weeks
|
#
12d9c0dc |
| 14-Jan-2020 |
Baptiste Daroussin <bapt@FreeBSD.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case.
Obtained from: OpenBSD MFC after: 3 days
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0 |
|
#
7847e041 |
| 24-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338026 through r338297, and resolve conflicts.
|
#
e68edb8c |
| 19-Aug-2018 |
Kyle Evans <kevans@FreeBSD.org> |
diff(1): Implement -B/--ignore-blank-lines
As noted by cem in r338035, coccinelle invokes diff(1) with the -B flag. This was not previously implemented here, so one was forced to create a link for G
diff(1): Implement -B/--ignore-blank-lines
As noted by cem in r338035, coccinelle invokes diff(1) with the -B flag. This was not previously implemented here, so one was forced to create a link for GNU diff to /usr/local/bin/diff
Implement the -B flag and add some primitive tests for it. It is implemented in the same fashion that -I is implemented; each chunk's lines are scanned, and if a non-blank line is encountered then the chunk will be output. Otherwise, it's skipped.
MFC after: 2 weeks
show more ...
|
Revision tags: release/11.2.0, release/10.4.0, release/11.1.0 |
|
#
a14eb6db |
| 03-Jun-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r319480 through r319547.
|
#
ea67c7a0 |
| 02-Jun-2017 |
John Baldwin <jhb@FreeBSD.org> |
Add -H as an alias for --speed-large-file to match GNU diff.
This is undocumented to match GNU diff where -H is also undocumented. Some existing software (such as kompare) uses this option by defaul
Add -H as an alias for --speed-large-file to match GNU diff.
This is undocumented to match GNU diff where -H is also undocumented. Some existing software (such as kompare) uses this option by default.
Reviewed by: emaste, rpokala Differential Revision: https://reviews.freebsd.org/D11022
show more ...
|
#
554491ff |
| 20-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r316992 through r317215.
|
#
fddcb7b8 |
| 20-Apr-2017 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Implement a basic --changed-group-format
etcupdate(8) requires that option, while GNU diff supports many more variation of that options, their behaviour beside the simple verion implemented here are
Implement a basic --changed-group-format
etcupdate(8) requires that option, while GNU diff supports many more variation of that options, their behaviour beside the simple verion implemented here are quite inconsistent as such I do not plan to implement those.
The only special keyword supported by this implementation are: %< and %> %= is not implemented as the documentation of GNU diff says: common lines, but it actually when tested print the changes from the first file
show more ...
|
#
7752043c |
| 15-Apr-2017 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Clean up headers declaration
|
#
a077708d |
| 08-Apr-2017 |
Baptiste Daroussin <bapt@FreeBSD.org> |
add a stub --speed-large-files for compatibility with GNU diff
There is no intention to implement it, but lots of scripts/tools using diff(1) passes GNU diff option
|
#
5c8e56f6 |
| 22-Mar-2017 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Use strndup(3) instead of malloc + memcpy
|
#
901a475b |
| 12-Mar-2017 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Implement a stub --horizon-lines=NUM for compatibility with GNU diff3
some options of GNU diff3 would call diff with --horizon-lines, rcs is depending on that.
Reported by: antoine
|
#
3bbe3f67 |
| 11-Mar-2017 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Import diff from OpenBSD and remove GNU diff
Some of the modifications from the previous summer of code has been integrated Modification for compatibility with GNU diff output has been added
Main d
Import diff from OpenBSD and remove GNU diff
Some of the modifications from the previous summer of code has been integrated Modification for compatibility with GNU diff output has been added
Main difference with OpenBSD: Implement multiple GNU diff options: * --ignore-file-name-case * --no-ignore-file-name-case * --normal * --tabsize * --strip-trailing-cr Make diff -p compatible with GNU diff Implement diff -l Make diff -r compatible with GNU diff
Capsicumize diffing 2 regular files Add a simple test suite
Approved by: AsiaBSDcon devsummit Obtained from: OpenBSD, GSoC Relnotes: yes
show more ...
|