[go: up one dir, main page]

Skip to content

[Sha 256] Project snippet repos should have the same repository object format as project

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

When a user creates a project using the experimental SHA256 object format, they may expect that when snippets are created in that project, that they too would default to using the same object format.

See [Sha 256] Project wiki repos should have the sa... (#463828) for similar issue relating to wikis

Where in the application are you seeing this issue?

URL of the page

http://gdk.test:3000/root/sha256-snippet/-/snippets

How did you expect the application to behave?

  1. Create a project using object format SHA256
  2. Navigate to Code > Snippets
  3. Create a snippet
  4. Attempt to clone the snippet repository e.g. git clone http://gdk.test:3000/root/sha1-snippet/snippets/37.git
  5. Observe that .git/config shows
[core]
	repositoryformatversion = 0
[extensions]
	objectformat = sha256

How did the application behave?

  • The application did not have any signs of error. However given that they had explicity chosen to use object format SHA256 they might expect to see their snippet repositories in said project also use SHA256
Edited by 🤖 GitLab Bot 🤖