diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-02 22:39:37 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-02 22:39:37 +0300 |
commit | 88abe66c27504bcda71fd0ddbeb22d0115b8c09f (patch) | |
tree | 60ec13ffc88a72840cdbeeed3f53aafa18e35bd6 | |
parent | 03f41e2820d76d272aa7357cf726b5d131bb80e0 (diff) | |
download | gitlab-ce-88abe66c27504bcda71fd0ddbeb22d0115b8c09f.tar.gz |
add alias for committed_date
-rw-r--r-- | lib/gitlab/git/commit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/git/commit.rb b/lib/gitlab/git/commit.rb index b7c5558739b..f1b9a76b7d6 100644 --- a/lib/gitlab/git/commit.rb +++ b/lib/gitlab/git/commit.rb @@ -152,6 +152,10 @@ module Gitlab hash end + def date + committed_date + end + private def init_from_grit(grit) |