3 ms·
Hm, tried this on a Mac but something must be askew - it returned a commit by me in 2022 in a repo that has existed since at least 2017.
by jamesfinlayson 2y ago
Hm, tried this on a Mac but something must be askew - it returned a commit by me in 2022 in a repo that has existed since at least 2017.
- JensRantil 2y agoWhoops, it extracted the newest row :) Correction: git ls-files -z|xargs -0 -n 1 git blame --date=format:%Y%m%d -f |grep -Eo '\d{8}.*' |sort -n | head -n 1 | sed 's/^[^)]*)*[ \t]//' This also use a null delimiter for the files and fixes a small sed pattern bug.