1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-19 00:28:03 +02:00

deal with month time unit in reflog output

This commit is contained in:
Jesse Duffield
2018-08-06 00:02:41 +10:00
parent 6e585c54a2
commit 59885e45df

View File

@ -533,6 +533,8 @@ git reflog -n100 --pretty='%cr|%gs' --grep-reflog='checkout: moving' HEAD | {
fi fi
fi fi
done \ done \
| sed 's/ months /m /g' \
| sed 's/ month /m /g' \
| sed 's/ days /d /g' \ | sed 's/ days /d /g' \
| sed 's/ day /d /g' \ | sed 's/ day /d /g' \
| sed 's/ weeks /w /g' \ | sed 's/ weeks /w /g' \