From: Svend Sorensen Date: Fri, 6 May 2011 17:45:24 +0000 (-0700) Subject: git-subtree: Display short-format status message X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/dc44c0be2ca2c70c1dc179dfe23d6ed9567b5555?ds=inline;hp=77b3e14369bb9b05937dddc795c17f857c504f24 git-subtree: Display short-format status message Add the -s flag to git status and exit successfully. This makes git-subtree status behave like git status. mr's git status command is: git_status = git status -s "$@" || true --- diff --git a/lib/git-subtree b/lib/git-subtree index 45b048e..0681399 100644 --- a/lib/git-subtree +++ b/lib/git-subtree @@ -33,7 +33,7 @@ lib = git subtree push "$@" } -git_subtree_status = git status . +git_subtree_status = git status -s "$@" . || true git_subtree_commit = git add . && git commit "$@" && git_subtree_push git_subtree_record = git add . && git commit "$@" git_subtree_diff = git diff .