commit - 3e72b288de325b062a896dd092cc4a7625f76432
commit + 986288a659290f72e774dcf0cb43ba76b2c23c72
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