问题
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