Hi all, I have a problem. I am using SourceTree with git and gerrit and was wondering is it possible to apply a patch to a revision that hasn't been merged yet.
My scenario is I have a class MyClass that has some comments from the gerrit reviewer. I have made the changes but instead of pushing a new change I would like to apply a patch and push that.
I create a patch from a file and apply it to the staging area. The patch is loaded fine, the strip index is determined to be 1, however I get errors such as:
error: while searching for:
etc. and it rejects the hunks. Any help would be greatly appreciated.