~ubuntu-branches/ubuntu/trusty/patch/trusty-security

« back to all changes in this revision

Viewing changes to .pc/558485-backupmode/patch.man

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2013-06-30 16:14:19 UTC
  • mfrom: (6.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20130630161419-xg7lwk3vpejzedyc
Tags: 2.7.1-3
* Call 'ed' without a path. Closes: #714423.
* Update copyright for GPL v3. Closes: #664640.

Show diffs side-by-side

added added

removed removed

Lines of Context:
445
445
Interpret the patch file as a normal diff.
446
446
.TP
447
447
\fB\-N\fP  or  \fB\*=forward\fP
448
 
Ignore patches that seem to be reversed or already applied.
 
448
Ignore patches that seem to be reversed or already applied. It is only checked if
 
449
the first hunk of a patch can be reversed.
449
450
See also
450
451
.BR \-R .
451
452
.TP
586
587
reversed normal diffs begin with a delete, which fails, triggering
587
588
the heuristic.)
588
589
.TP
 
590
\fB\*=read\-only=\fP\fIbehavior\fP
 
591
Behave as requested when trying to modify a read-only file: \fBignore\fP the
 
592
potential problem, \fBwarn\fP about it (the default), or \fBfail\fP.
 
593
.TP
589
594
\fB\*=reject\-format=\fP\fIformat\fP
590
595
Produce reject files in the specified \fIformat\fP (either \fBcontext\fP or
591
596
\fBunified\fP).  Without this option, rejected hunks come out in unified diff
595
600
\fB\-s\fP  or  \fB\*=silent\fP  or  \fB\*=quiet\fP
596
601
Work silently, unless an error occurs.
597
602
.TP
 
603
\fB\*=follow\-symlinks\fP
 
604
When looking for input files, follow symbolic links.  Replaces the symbolic
 
605
links, instead of modifying the files the symbolic links point to.  Git-style
 
606
patches to symbolic links will no longer apply.  This option exists for
 
607
backwards compatibility with previous versions of patch; its use is
 
608
discouraged.
 
609
.TP
598
610
\fB\-t\fP  or  \fB\*=batch\fP
599
611
Suppress questions like
600
612
.BR \-f ,
608
620
.TP
609
621
\fB\-T\fP  or  \fB\*=set\-time\fP
610
622
Set the modification and access times of patched files from time stamps
611
 
given in context diff headers, assuming that the context diff headers
612
 
use local time.  This option is not recommended, because patches using
613
 
local time cannot easily be used by people in other time zones, and
614
 
because local time stamps are ambiguous when local clocks move backwards
615
 
during daylight-saving time adjustments.  Instead of using this option,
616
 
generate patches with \s-1UTC\s0 and use the
 
623
given in context diff headers.  Unless specified in the time stamps,
 
624
assume that the context diff headers use local time.
 
625
.Sp
 
626
Use of this option with time stamps that do not include time zones is
 
627
not recommended, because patches using local time cannot easily be used
 
628
by people in other time zones, and because local time stamps are
 
629
ambiguous when local clocks move backwards during daylight-saving time
 
630
adjustments.  Make sure that time stamps include time zones, or generate
 
631
patches with \s-1UTC\s0 and use the
617
632
.B \-Z
618
633
or
619
634
.B \*=set\-utc
740
755
.TP
741
756
\fB\-Z\fP  or  \fB\*=set\-utc\fP
742
757
Set the modification and access times of patched files from time stamps
743
 
given in context diff headers, assuming that the context diff headers
744
 
use Coordinated Universal Time (\s-1UTC\s0, often known as \s-1GMT\s0).
745
 
Also see the
 
758
given in context diff headers. Unless specified in the time stamps,
 
759
assume that the context diff headers use Coordinated Universal Time
 
760
(\s-1UTC\s0, often known as \s-1GMT\s0).  Also see the
746
761
.B \-T
747
762
or
748
763
.B \*=set\-time