Skip to content

Commit

Permalink
Diff: Better description of unidiff format
Browse files Browse the repository at this point in the history
  • Loading branch information
irgolic committed Mar 24, 2023
1 parent 323435e commit 5a8a8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autopr/models/rail_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class LookAtFilesResponse(RailObject):
class Diff(RailObject):
rail_spec = """<string
name="diff"
description="The diff of the commit, in unified format (unidiff), as output by `diff -u`."
description="The diff of the commit, in unified format (unidiff), as output by `diff -u`. Changes shown in hunk format, with headers akin to `--- <filename>\n+++ <filename>\n@@ .,. @@`."
required="false"
format="unidiff"
/>"""
Expand Down

0 comments on commit 5a8a8ac

Please sign in to comment.