summaryrefslogtreecommitdiff
path: root/patch.man
Commit message (Collapse)AuthorAgeFilesLines
* Fix some formatting problems in the manpageEric S. Raymond2013-06-181-18/+28
| | | | | * patch.1: Use higher-level markup that translates better into HTML and other formats. (With changes by Andreas Gruenbacher.)
* Clarify the description of option --forwardAndreas Gruenbacher2013-01-031-2/+2
| | | | * patch.man: Clarify the description of option --forward.
* Add --follow-symlinks option for backwards compatibilityAndreas Gruenbacher2012-09-191-0/+7
| | | | | | | | | * src/common.h (follow_symlinks): New variable. * src/patch.c (longopts): Add new --follow-symlinks option. (get_some_switches): Recognize the new option. * src/util.c (stat_file): Follow symlinks if requested. * patch.man: Document the new option. * tests/symlinks: Add test case.
* Document command-line options in alphabetic orderAndreas Gruenbacher2012-09-191-4/+4
| | | | | * patch.man: The options are mostly listen in alphabetical order; stick to that.
* Only warn when trying to modify read-only filesAndreas Gruenbacher2012-04-171-2/+6
| | | | | | | | | | | | Failing when trying to patch read-only files causes various users of patch to break. Instead, warn by default and introduce a command line option for choosing a different behavior. * patch.man: Describe the new behavior and command-line option. * src/patch.c (read_only_behavior): New variable. (main): Implement the new behavior. (longopts): Add the new --read-only option. (option_help): Describe the new behavior. (get_some_switches): Recognize the new --read-only option.
* Refuse to patch read-only filesAndreas Gruenbacher2010-05-021-2/+2
| | | | | | | | | * src/patch.c (main): Refuse to patch read-only files, or at least warn when patching such files with --force or --batch. * patch.man: Document the changed behavior. * tests/read-only-files: Split read-only file test case off from tests/remember-backup-files. * tests/Makefile.am: Add new test case.
* Document the recent changesAndreas Gruenbacher2010-04-231-9/+12
| | | | | | * patch.man: Describe the fixed behavior of --set-time and --set-utc for timestamps that include time zones. * NEWS: Update.
* Clarify the description of the -N optionAndreas Gruenbacher2010-02-171-1/+2
| | | | * patch.man: Clarify the description of the -N option.
* * patch.man: Clarify the description of the -F / --fuzz option.Andreas Gruenbacher2009-12-301-3/+4
|
* * patch.man: Try to improve the documentation of patch's CRLF handlingAndreas Gruenbacher2009-12-291-5/+5
| | | | behavior.
* * src/patch.c (longopts, get_some_switches): Add an optional argumentAndreas Gruenbacher2009-12-291-9/+15
| | | | | | | | | to the --merge option to choose the output formats for conflicts. * patch.man: Document the new optional argument of --merge. * src/merge.c (merge_hunk): Implement diff3-style conflicts. * src/common.h (conflict_style): This global variable determines the output format for conflicts. * tests/merge: Add test cases for the diff3 output format.
* Fix typo in patch.man (reported by Vytautas Šaltenis)Andreas Gruenbacher2009-10-271-1/+1
|
* The -m option hasn't been officially allocated yet; use only the long form ↵Andreas Gruenbacher2009-07-191-1/+1
| | | | for now (--merge)
* Change the default value of PATCH_GET to 0Vincent Legoll2009-05-121-3/+1
| | | | | | | | | | | | | Patch should default to not try to get files from revision control software unless actively asked by the user with the "-g" or "--get" command-line switches, or the PATCH_GET environment variable. Make the posixly correct behaviour of not using source control, the global patch default. I.e. default to "-g0". This is related to debian BTS bug: #200895 Please refer to that discussion for more background information and discussion.
* Add support for sending output to standard outputAndreas Gruenbacher2009-04-081-2/+4
|
* Improve the description of --binary in patch.manAndreas Gruenbacher2009-04-071-2/+2
|
* Document that merging can be slowAndreas Gruenbacher2009-04-051-0/+4
|
* Copyright notice updatesAndreas Gruenbacher2009-04-051-1/+1
|
* Revert (almost) to the original asymmetric hunk behavior and document thatAndreas Gruenbacher2009-04-051-0/+6
|
* Update the NEWS fileAndreas Gruenbacher2009-04-031-4/+4
|
* Update patch.manAndreas Gruenbacher2009-04-031-10/+29
|
* Enforce simple backup mode and compute the backup file name if -B, -Y, or -z ↵Andreas Gruenbacher2009-03-281-10/+25
| | | | | | is used This fixes the case where -B or -Y is combined with -z (bug 25968).
* Remove obsolete RCS $Id$ tagsAndreas Gruenbacher2009-03-221-1/+0
|
* Disable trailing CR stripping with --binaryAndreas Gruenbacher2009-03-221-6/+8
| | | | | | | | | Patch recognizes patches that have had their line endings converted to CRLF and automatically strips CRs in that case. This generally is the desired behavior, but if both the patch and the file(s) being patched have CRLF line endings, patches that would apply without this heuristic will fail. Modify the --binary option to disable the trailing CR stripping heuristic.
* Man page: Use plain asterisk instead of \[**] (asteriskmath)Andreas Gruenbacher2009-03-221-1/+1
| | | | (Found in the Debian package.)
* Make "patch -r rejfile" work even when there are several rejectsAndreas Gruenbacher2009-03-221-1/+1
| | | | | | With a patch that includes rejects in more than one file and with the -r option, rejects would overwrite themselves and only the rejects from the last file would remain. Fix this.
* Add unified reject format and the --reject-format=FORMAT optionAndreas Gruenbacher2009-03-221-2/+7
|
* Import of patch-2.5.7.tar.gzv2.5.7Andreas Gruenbacher2009-03-171-14/+25
|
* Import of patch-2.5.4.tar.gzv2.5.4Andreas Gruenbacher2009-03-121-2/+2
|
* Import of patch-2.5.3.tar.gzv2.5.3Andreas Gruenbacher2009-03-121-52/+137
|
* Import of patch-2.5.tar.gzv2.5Andreas Gruenbacher2009-03-121-37/+38
|
* Import of patch-2.4.tar.gzv2.4Andreas Gruenbacher2009-03-121-155/+352
|
* Import of patch-2.3.tar.gzv2.3Andreas Gruenbacher2009-03-121-74/+235
|
* Import of patch-2.2.tar.gzv2.2Andreas Gruenbacher2009-03-121-406/+541
|
* Import of patch-2.1.tar.gzv2.1Andreas Gruenbacher2009-03-121-0/+570