summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jakub Suder <jakub.suder@gmail.com>2010-01-06 23:11:43 +0100
committerLibravatar Jakub Suder <jakub.suder@gmail.com>2010-01-06 23:11:43 +0100
commit6da401386ea37f1bda3f6717d7c77fb0e5c351b2 (patch)
treeb6698d61b367f503f05586009f6c85b793915bc1
parentWeird, I forgot to have 'make test' call test.sh. (diff)
downloadtgif-6da401386ea37f1bda3f6717d7c77fb0e5c351b2.tar.xz
added -p alias for --prefix
-rwxr-xr-xgit-subtree.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-subtree.sh b/git-subtree.sh
index 8baa376fe5..28fb8e81fb 100755
--- a/git-subtree.sh
+++ b/git-subtree.sh
@@ -16,7 +16,7 @@ git subtree split --prefix=<prefix> <commit...>
h,help show the help
q quiet
d show debug messages
-prefix= the name of the subdir to split out
+p,prefix= the name of the subdir to split out
options for 'split'
annotate= add a prefix to commit message of new commits
b,branch= create a new branch from the split subtree
@@ -76,7 +76,7 @@ while [ $# -gt 0 ]; do
--annotate) annotate="$1"; shift ;;
--no-annotate) annotate= ;;
-b) branch="$1"; shift ;;
- --prefix) prefix="$1"; shift ;;
+ -p) prefix="$1"; shift ;;
--no-prefix) prefix= ;;
--onto) onto="$1"; shift ;;
--no-onto) onto= ;;