@matheusbsbs / matheus-bagliano / commits / 6da401386e
Fork 0

added -p alias for --prefix

Jakub Suder committed Jan 6, 2010 at 23:11 UTC 6da401386ea37f1bda3f6717d7c77fb0e5c351b2
1 file changed +2 -2
git-subtree.sh
+2 -2
@@ -16,7 +16,7 @@ git subtree split --prefix=<prefix> <commit...>
16 h,help show the help
17 q quiet
18 d show debug messages
19 -prefix= the name of the subdir to split out
19 +p,prefix= the name of the subdir to split out
20 options for 'split'
21 annotate= add a prefix to commit message of new commits
22 b,branch= create a new branch from the split subtree
@@ -76,7 +76,7 @@ while [ $# -gt 0 ]; do
76 --annotate) annotate="$1"; shift ;;
77 --no-annotate) annotate= ;;
78 -b) branch="$1"; shift ;;
79 - --prefix) prefix="$1"; shift ;;
79 + -p) prefix="$1"; shift ;;
80 --no-prefix) prefix= ;;
81 --onto) onto="$1"; shift ;;
82 --no-onto) onto= ;;