summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@gnu.org>2015-01-21 13:01:08 +0100
committerAndreas Gruenbacher <agruen@gnu.org>2015-01-21 16:32:41 +0100
commit17953b5893f7c9835f0dd2a704ba04e0371d2cbd (patch)
treee23e6e261ea6bed702d55afb985d95552c8de0fd /src/util.c
parent0c08d7a902c6fdd49b704623a12d8d672ef18944 (diff)
downloadpatch-17953b5893f7c9835f0dd2a704ba04e0371d2cbd.tar.gz
For renames and copies, make sure that both file names are valid
* src/patch.c (main): Allow there_is_another_patch() to set the skip_rest_of_patch flag. * src/pch.c (intuit_diff_type): For renames and copies, also check the "other" file name. (pch_copy, pch_rename): Now that both names are checked in intuit_diff_type(), we know they are defined here.
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions