Skip to content

Commit 525d27a

Browse files
committed
Avoid using git restore-mtime from the distribution
And use our own local copy. It's failing with: 'git whatchanged' is nominated for removal. hint: You can replace 'git whatchanged <opts>' with: hint: git log <opts> --raw --no-merges hint: Or make an alias: hint: git config set --global alias.whatchanged 'log --raw --no-merges' If you still use this command, here's what you can do: - read https://git-scm.com/docs/BreakingChanges.html - check if anyone has discussed this on the mailing list and if they came up with something that can help you: https://lore.kernel.org/git/?q=git%20whatchanged - send an email to <[email protected]> to let us know that you still use this command and were unable to determine a suitable replacement fatal: refusing to run without --i-still-use-this
1 parent 960f243 commit 525d27a

File tree

2 files changed

+609
-4
lines changed

2 files changed

+609
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ jobs:
2222
with:
2323
ruby-version: 3.2.3
2424

25-
- name: Install git-restore-time
26-
run: sudo apt-get install -y git-restore-mtime
27-
25+
# git restore-mtime is currently broken in the GH Actions images so using our own updated local copy
26+
# see https://github.com/MestreLion/git-tools/blob/main/git-restore-mtime
2827
- name: Restore mtime
29-
run: git restore-mtime
28+
run: ./tools/git-restore-mtime
3029

3130
- name: Build Jekyll site
3231
uses: limjh16/jekyll-action-ts@v2

0 commit comments

Comments
 (0)