Skip to content

Commit a80f8a8

Browse files
committed
scripts/retire.sh: fix on Darwin (?)
`set -o pipefail` behaves weirdly with `SIGPIPE` or whatever here.
1 parent 86bfeed commit a80f8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/retire.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ for login in *; do
6161
# Figure out when this person received the commit bit
6262
# Get the unix epoch of the first commit that touched this file
6363
# --first-parent is important to get the time of when the main branch was changed
64-
fileCommitEpoch=$(git log --reverse --first-parent --format=%cd --date=unix -- "$login" | head -1)
64+
fileCommitEpoch=$(git log --reverse --first-parent --format=%cd --date=unix -- "$login" | head -1 || true)
6565
if (( fileCommitEpoch < createdOnReceptionEpoch )); then
6666
# If it was created before creation actually matched the reception date
6767
# This branch can be removed after 2026-04-23

0 commit comments

Comments
 (0)