mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-17 00:18:05 +02:00
deal with month time unit in reflog output
This commit is contained in:
@ -532,7 +532,9 @@ git reflog -n100 --pretty='%cr|%gs' --grep-reflog='checkout: moving' HEAD | {
|
||||
printf "%s\t%s\n" "$date" "$branch"
|
||||
fi
|
||||
fi
|
||||
done \
|
||||
done \
|
||||
| sed 's/ months /m /g' \
|
||||
| sed 's/ month /m /g' \
|
||||
| sed 's/ days /d /g' \
|
||||
| sed 's/ day /d /g' \
|
||||
| sed 's/ weeks /w /g' \
|
||||
|
Reference in New Issue
Block a user