summaryrefslogtreecommitdiff
path: root/test-chmtime.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-16 14:03:52 -0700
committerJunio C Hamano <gitster@pobox.com>2012-07-09 14:36:50 -0700
commitccf998b297c6d04053eaa9d61e9cb4187bccd0a9 (patch)
tree79f45bde13d5b2c06282e7f1328cb5fc13fd23e6 /test-chmtime.c
parent37b9c903eb825ca741ea0eddc942309f892b682f (diff)
downloadgit-ccf998b297c6d04053eaa9d61e9cb4187bccd0a9.tar.gz
apply: refactor "previous patch" logic
The code to grab the result of application of a previous patch in the input was mixed with error message generation for a case where a later patch tries to modify contents of a path that has been removed. The same code is duplicated elsewhere in the code. Introduce a helper to clarify what is going on. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-chmtime.c')
0 files changed, 0 insertions, 0 deletions