commit - 4929098b50991a6640f81e8bfe7c0bf7b103b9a4
commit + 443c08c91d6addcbfcb729b36d52896d6336fa14
blob - 1c15f9eb9f3148f3b830e1d2552dcf83ae897b1b
blob + 6ecd586ce8e361dfca580081aea01c71ea59b531
--- got/got.1
+++ got/got.1
Apply changes from
.Ar patchfile
to files in a work tree.
+Files added or removed by a patch will be scheduled for addition or removal in
+the work tree.
.Pp
The patch must be in the unified diff format as produced by
.Cm got diff ,
when invoked with the
.Fl u
option.
-.Pp
If no
.Ar patchfile
argument is provided, read unified diff data from standard input instead.
If the
.Ar patchfile
contains multiple patches then attempt to apply each of them in sequence.
-Files added or removed by a patch will be scheduled for addition or removal in
-the work tree.
.Pp
Show the status of each affected file, using the following status codes:
.Bl -column XYZ description