summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-10-12 17:17:02 (GMT)
committerPeter Wu <peter@lekensteyn.nl>2016-10-12 17:17:02 (GMT)
commit6221fbec096fc31a16a8f644714342e7c52d3216 (patch)
tree7705d281967080c46633c70820c57a31e7989c0a
parentdeac48717dfdf474f7373bf7d6539d7ec1e7e6bd (diff)
reviewboard-am: add marker to ignore following text
Raw patches from reviewboard can contain additional text, ignore these in favor of the commit message based on the description. REVIEW: 129154
-rwxr-xr-xreviewboard-am1
1 files changed, 1 insertions, 0 deletions
diff --git a/reviewboard-am b/reviewboard-am
index e96c9a9..e5da735 100755
--- a/reviewboard-am
+++ b/reviewboard-am
@@ -117,6 +117,7 @@ def write_patch(fl, fullname, email, summary, description, diff):
print("Subject:", summary.encode("utf-8"), file=fl)
print(file=fl)
print(description.encode("utf-8"), file=fl)
+ print("---", file=fl)
print(file=fl)
fl.write(diff)