Skip to content

[DO NOT MERGE] Add --unshallow to git fetch in update.sh#1234

Closed
nak3 wants to merge 1 commit intolibressl:masterfrom
nak3:add-unshallow
Closed

[DO NOT MERGE] Add --unshallow to git fetch in update.sh#1234
nak3 wants to merge 1 commit intolibressl:masterfrom
nak3:add-unshallow

Conversation

@nak3
Copy link
Member

@nak3 nak3 commented Feb 20, 2026

When the openbsd repository is cloned with --depth, it becomes a shallow clone and lacks sufficient history to resolve commits based on timestamps.

Replace git fetch with git fetch --unshallow to ensure the commit history and branch are available.

Fix #1233

When the openbsd repository is cloned with --depth, it becomes a
shallow clone and lacks sufficient history to resolve commits based on
timestamps.

Replace git fetch with git fetch --unshallow to ensure the full commit
history and branch are available.

Fix libressl#1233
@nak3 nak3 changed the title Add --unshallow to git fetch in update.sh [DO NOT MERGE] Add --unshallow to git fetch in update.sh Feb 20, 2026
@nak3
Copy link
Member Author

nak3 commented Feb 20, 2026

I think there are other solutions such as:

  • add --no-single-branch to git clone.
  • drop --depth=8 from git clone.
    ...etc
    I will investigate more.

@nak3
Copy link
Member Author

nak3 commented Feb 20, 2026

Closing as #1235 is a better fix.

@nak3 nak3 closed this Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to build v4.2.1 and v4.2.0 on macOS

1 participant