summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-06-28 12:51:50 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-06-28 12:51:50 +0300
commit335f9d64105fc887e74b22922da58b2edb1bc809 (patch)
tree0a5a8137533a647b7f380237bb891b347f80838f /app/models/commit.rb
parentdf6b587f3458a55ca21f687fde0272a103b273cd (diff)
downloadgitlab-ce-335f9d64105fc887e74b22922da58b2edb1bc809.tar.gz
New Feature: Diff patch file export for commit
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 09635d0e21c..800ad19b9f1 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -19,6 +19,7 @@ class Commit
:diffs,
:tree,
:id,
+ :to_patch,
:to => :commit