mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
;bin: hledger-git: status command also shows diffs
This commit is contained in:
parent
679f62cc60
commit
ae26ae6294
@ -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 "$@"; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user