Skip to content

[gh-pages] Do full clone rather than shallow clone - #7932

Merged
sideshowbarker merged 1 commit into
mainfrom
sideshowbarker/gh-pages-build-non-shallow
Oct 21, 2022
Merged

[gh-pages] Do full clone rather than shallow clone#7932
sideshowbarker merged 1 commit into
mainfrom
sideshowbarker/gh-pages-build-non-shallow

Conversation

@sideshowbarker

Copy link
Copy Markdown
Member

This change causes the GH Pages build to do a full clone rather than a shallow clone. This is necessary in order to get the correct timestamps for all sources (see #7898).

Otherwise, without this change, git doesn’t report accurate timestamps for any sources; instead it reports the same timestamp for all of them — which is apparently whatever the current time is when git creates the (shallow) clone.

This change causes the GH Pages build to do a full clone rather than a
shallow clone. This is necessary in order to get the correct timestamps
for all sources (see #7898).

Otherwise, without this change, git doesn’t report accurate timestamps
for any sources; instead it reports the same timestamp for all of them —
which is apparently whatever the current time is when git creates the
(shallow) clone.
@sideshowbarker
sideshowbarker merged commit 14a10b8 into main Oct 21, 2022
@sideshowbarker
sideshowbarker deleted the sideshowbarker/gh-pages-build-non-shallow branch October 21, 2022 09:45
andreubotella added a commit to andreubotella/csswg-auto-build that referenced this pull request Oct 23, 2022
This change causes the GH Pages build to do a full clone rather than a
shallow clone. This is necessary in order to get the correct timestamps
for all sources (see 8a88ad6).

Otherwise, without this change, git doesn’t report accurate timestamps
for any sources; instead it reports the same timestamp for all of them —
which is apparently whatever the current time is when git creates the
(shallow) clone.

This commit is a port of w3c/csswg-drafts#7932.

Co-authored-by: Michael[tm] Smith <mike@w3.org>
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.

2 participants