Project

General

Profile

'missing header for unified diff' applying patch #2024

Added by Charles Colbourn about 13 years ago

Hi,
when I try to apply patch #2024 (gantt_edit_5_v1-1-1.patch) from this thread http://www.redmine.org/boards/3/topics/22288?r=22292#message-22292 I get the following error:

C:\redmine-1.1>patch p0 < ..\temp\gantt_edit_5_v1-1-1.patch
patching file app/controllers/gantts_controller.rb
patching file app/helpers/application_helper.rb
patching file app/helpers/issues_helper.rb
patching file app/models/issue.rb
patching file app/views/gantts/show.html.erb
missing header for unified diff at line 111 of patch
can't find file to patch at input line 111
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
-------------------------
|41,7 +42,7 @@ | <% zoom = 1 | @gantt.zoom.times { zoom = zoom * 2 } | |-subject_width = 330 |+subject_width = 280 | header_heigth = 18 | | headers_height = header_heigth
--------------------------
File to patch:

====================================================================

could someone suggest what I'm doing wrong?

thanks,

Charles