diff --git a/gitcommands.go b/gitcommands.go index 976369317..a5f94c7f6 100644 --- a/gitcommands.go +++ b/gitcommands.go @@ -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' \