diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-08-30 21:15:06 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-08-30 22:01:23 +0800 |
commit | c5553ce772371295d2d7652cec899633042fae07 (patch) | |
tree | eb8f9a5ede93f7edaa8dd1eeb8960b95f9697dd0 /lib/tasks | |
parent | 86149a82168e9aead7ce6841c69705662f8a6e54 (diff) | |
download | gitlab-ce-c5553ce772371295d2d7652cec899633042fae07.tar.gz |
Use `git update-ref --stdin -z` to delete refs36807-gc-unwanted-refs-after-import
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/cleanup.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/cleanup.rake b/lib/tasks/gitlab/cleanup.rake index f76bef5f4bf..8ae1b6a626a 100644 --- a/lib/tasks/gitlab/cleanup.rake +++ b/lib/tasks/gitlab/cleanup.rake @@ -111,7 +111,7 @@ namespace :gitlab do next unless id > max_iid project.deployments.find(id).create_ref - rugged.references.delete(ref) + project.repository.delete_refs(ref) end end end |