From dc44c0be2ca2c70c1dc179dfe23d6ed9567b5555 Mon Sep 17 00:00:00 2001 From: Svend Sorensen Date: Fri, 6 May 2011 10:45:24 -0700 Subject: [PATCH 1/1] 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 --- lib/git-subtree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . -- 2.39.5