X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/6253eb3cb923a1bbeae76829c98cbcb06e68988f..aceb2c7e13d16c317a5466e3e45c3aaf829a7736:/lib/git-subtree?ds=inline diff --git a/lib/git-subtree b/lib/git-subtree index 45b048e..3943924 100644 --- a/lib/git-subtree +++ b/lib/git-subtree @@ -1,5 +1,9 @@ # Add support for Avery Pennarun's git-subtree # +# To make mr use this file, add a line like this inside the [DEFAULT] +# section of your ~/.mrconfig +#include = cat /usr/share/mr/git-subtree +# # Example: # # [repo] @@ -33,7 +37,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 .