Skip to content

dfgitutil: don't initialize ref from checksum#6176

Merged
tonistiigi merged 1 commit into
moby:masterfrom
tonistiigi:remove-ref-initialize
Aug 29, 2025
Merged

dfgitutil: don't initialize ref from checksum#6176
tonistiigi merged 1 commit into
moby:masterfrom
tonistiigi:remove-ref-initialize

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

closes #6174
fixes #6175

Initializing ref from checksum has unexpected side effects:

  • Short checksum can't be used for fetching
  • Default branch would be missing when fetching with keep-git-dir

Initializing ref from checksum has unexpected side effects:
- Short checksum can't be used for fetching
- Default branch would be missing when fetching with keep-git-dir

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi merged commit 0c716fd into moby:master Aug 29, 2025
169 of 170 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

git url: ?checksum=<SHORT> fails (while ?tag=<TAG>&checksum=<SHORT> and ?checksum=<LONG> work)

2 participants