How to create a Patch for Rietveld by git/patch/*?

試著忘記壹切 提交于 2019-12-11 12:13:11

问题


I have a file where I added a print -statement such that

 print "hello"         // this is a change
 ----- file -------

I have the change in my Git's commit tree.

I would like to have a patch which I can use for Rietveld.

I get the following when I have the changed file at Data, while the unchanged file at Base.

alt text http://files.getdropbox.com/u/175564/codepreview-patch.png

How can you make a patch which I can give for Rietveld?


回答1:


At the current state Rietveld r530 online patch parser understands only SVN based patches - no Mercurial or Git format. That's why it is advised to use upload.py utility for sending patches.



来源:https://stackoverflow.com/questions/1168268/how-to-create-a-patch-for-rietveld-by-git-patch

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!