Commit 266e8ea
committed
bug #858 Fixing missing blank line at end of modified patch files (weaverryan)
This PR was merged into the 1.x branch.
Discussion
----------
Fixing missing blank line at end of modified patch files
Fixes #856
tl;dr If a file has been modified in a recipe, but that file has been deleted in the user's project, we manually remove that file from that patch to avoid conflicts (and we report the patch to the user). There was a bug in that process that didn't guarantee an empty line at the end of the patch file. That made the patch file invalid for git.
Thank you `@fbourigault` for the excellent bug report and reproducer!
Commits
-------
65c7e8e Fixing missing blank line at end of modified patch files2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| 209 | + | |
207 | 210 | | |
208 | 211 | | |
209 | 212 | | |
| |||
244 | 247 | | |
245 | 248 | | |
246 | 249 | | |
| 250 | + | |
247 | 251 | | |
248 | 252 | | |
249 | 253 | | |
| |||
0 commit comments