The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Patches generated by "view as patch" has to be applied with "patch -p0" (= there is no directory prefix). However, "git apply" (and most of other tools that work with patches) accept patch that could be applied with "patch -p1" (= one directory prefix). How to fix that?
Hello Jerome,
Welcome to the Atlassian Community!
If you take a look at our creating patch files documentation, we don't mention using git apply. We read patch files as git diff > nameofpatchfile.txt and you can upload it to the Crucible review directly. I'm not 100% sure on if you are saying you are unable to upload the patch successfully or if you are expecting a different format. If I didn't answer your question, please help me understand what I have missed.
Regards,
Aaron Levinson
Dev Tools Support Engineer
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.