Skip to content

Commit

Permalink
added -p alias for --prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Jan 6, 2010
1 parent d344532 commit 6da4013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-subtree.sh
Expand Up @@ -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
Expand Down Expand Up @@ -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= ;;
Expand Down

0 comments on commit 6da4013

Please sign in to comment.