summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2018-05-10 16:24:57 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2018-05-10 16:24:57 +1000
commitf7eca91677722f2cdaa57ec95e10075aae659925 (patch)
treed87e6dd204b6c91f2a4983cce4f2989d95651a07
parent93498185a762e4226c1838d3ea1dd2f2c018e339 (diff)
downloadgitlab-ce-f7eca91677722f2cdaa57ec95e10075aae659925.tar.gz
Include project.full_path when moving repo
This is especially helpful when hashed storage is enabled
-rw-r--r--app/services/projects/destroy_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/destroy_service.rb b/app/services/projects/destroy_service.rb
index 71c93660b4b..adbc498d0bf 100644
--- a/app/services/projects/destroy_service.rb
+++ b/app/services/projects/destroy_service.rb
@@ -87,7 +87,7 @@ module Projects
new_path = removal_path(path)
if mv_repository(path, new_path)
- log_info("Repository \"#{path}\" moved to \"#{new_path}\"")
+ log_info(%Q{Repository "#{path}" moved to "#{new_path}" for project "#{project.full_path}"})
project.run_after_commit do
# self is now project