summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-02-12 10:08:42 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-02-19 13:14:53 -0500
commit02f48053f1328055bef548bf2627e8f71c919a11 (patch)
treec6a04cea3fce16b7caf4eee4d9ad8bb4af7b4840 /app/models/commit.rb
parentf088caca3b3f90829735c23d061fd55230d1be3e (diff)
downloadgitlab-ce-02f48053f1328055bef548bf2627e8f71c919a11.tar.gz
No longer need to ignore temporary branch.
* Now it's only created when user choose to create a MR and logic to hide it is handled by https://gitlab.com/gitlab-org/gitlab-ce/blob/50595af7b0e304f16e2955109abd2d25cd96efda/app/helpers/application_helper.rb#L139
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 1237c50b759..beae2fe7a1a 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -216,7 +216,7 @@ class Commit
end
def revert_branch_name
- "revert-#{project.id}-#{short_id}"
+ "revert-#{short_id}"
end
def revert_message