Open an issue which has code attached and look at the link for the diff, it is shown as:
https://github.com/joomla/joomla-cms/pull/3108.diff however this URL redirects to https://patch-diff.githubusercontent.com/raw/joomla/joomla-cms/pull/3108.diff. For CLI use, the latter URL is usable and the former is not. The former gives the following error:
fatal: unrecognized input
when doing curl https://github.com/joomla/joomla-cms/pull/3079.diff | git apply
Get the real URL to the diff.
Currently it shows the nice URL rather than the real url.
Windows 8.1
FireFox 37.0.2
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-05-03 14:39:42 |
Closed_By | ⇒ | mbabker |
That must be a recent change in GitHub because the first URL used to work just fine.