Skip to content

Downloading archive.tar.gz ignores ref argument

Summary

Downloading the archive from https://gitlab.com/procps-ng/procps/repository/archive.tar.gz?ref=1982a79ba8d5555f748860f886b2d6c8873afecb yields an archive containing the tip of default branch for procps, not the specified commit.

Steps to reproduce

Paste the above mentioned URL in your browser.

Example Project

procps-ng/procps

What is the current bug behavior?

It downloads tip of default branch, ignoring the sha url parameter.

What is the expected correct behavior?

Get the specified commit in an archive.

Relevant logs and/or screenshots

none

Output of checks

This bug happens on GitLab.com

Possible fixes

dunno, I don't speak ruby.

Edited by Nick Thomas