Skip to content

Commit

Permalink
narrower shallow-since
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Jan 14, 2024
1 parent 0060965 commit 32f5ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
year=$(date +%Y)
since="$year-01-01"
echo "Fetching since: $since"
git fetch --shallow-since $since origin
git fetch --shallow-since $since origin ${{ github.ref_name }}
- run: cat .git/shallow
- name: Show all history
run: git log '--format=%h%d %ad %s' --date=local --graph --all
Expand Down

0 comments on commit 32f5ae2

Please sign in to comment.