;bin: hledger-git: status command also shows diffs

This commit is contained in:
Simon Michael 2023-02-02 21:12:16 -10:00
parent 679f62cc60
commit ae26ae6294

View File

@ -87,7 +87,11 @@ r() { record "$@"; }
status() {
ensure_git
# short status
$GIT --work-tree "$DIR" status -sb "$@" -- $FILES
echo
# diff
$GIT --work-tree "$DIR" diff "$@" -- $FILES
}
s() { status "$@"; }