Signed-off-by: David Symonds <dsymonds@xxxxxxxxx> --- .gitignore | 1 + Makefile | 1 + git-staged.sh | 2 ++ 3 files changed, 4 insertions(+), 0 deletions(-) create mode 100755 git-staged.sh diff --git a/.gitignore b/.gitignore index bbaf9de..9353d19 100644 --- a/.gitignore +++ b/.gitignore @@ -118,6 +118,7 @@ git-show git-show-branch git-show-index git-show-ref +git-staged git-stash git-status git-stripspace diff --git a/Makefile b/Makefile index d6f3695..1b23e53 100644 --- a/Makefile +++ b/Makefile @@ -262,6 +262,7 @@ SCRIPT_SH += git-rebase.sh SCRIPT_SH += git-repack.sh SCRIPT_SH += git-request-pull.sh SCRIPT_SH += git-sh-setup.sh +SCRIPT_SH += git-staged.sh SCRIPT_SH += git-stash.sh SCRIPT_SH += git-submodule.sh SCRIPT_SH += git-web--browse.sh diff --git a/git-staged.sh b/git-staged.sh new file mode 100755 index 0000000..66a5e33 --- /dev/null +++ b/git-staged.sh @@ -0,0 +1,2 @@ +#!/bin/sh +exec git diff --cached "$@" -- 1.6.0 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html