patch: implement --dry-run
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 14 Apr 2018 14:05:26 +0000 (16:05 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 14 Apr 2018 14:05:26 +0000 (16:05 +0200)
commit75568354f6e2ab08302085bbcb32c3368c49b86f
treed314a3475bbeb5b4edc9e0fa27ac848af968ff07
parentd5f5045b43bd7a55402dfcecde511a2c207d07b7
patch: implement --dry-run

function                                             old     new   delta
static.patch_longopts                                  -     137    +137
patch_main                                          2053    2135     +82
fail_hunk                                            132     139      +7
finish_oldfile                                       119     124      +5
packed_usage                                       32807   32787     -20
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/1 up/down: 231/-20)           Total: 211 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/patch.c