Wednesday, October 8, 2014

Applying Git Patches in Eclipse IDE

Git Patch 'File does not exist' Solution

Today I needed to apply GIT formatted patches in Eclipse which led me to an hour or so long search on how to do it. Officially the help docs even state it's no possible however there is a Bug 358257 which is set to FIXED for this issue; but I was still getting the 'File does not exist' error.

As shown in the above screen shot the solution is obvious, one must ignore leading patch segments until the files name path matches . This obvious solution escaped me and so I am posting this just in case you the reader have found yourself in the same situation as well.

Feel free to comment or follow me on twitter @danielsoklows

No comments:

Post a Comment