Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
added -p alias for --prefix
author
Jakub Suder
<jakub.suder@gmail.com>
Wed, 6 Jan 2010 22:11:43 +0000
(23:11 +0100)
committer
Jakub Suder
<jakub.suder@gmail.com>
Wed, 6 Jan 2010 22:11:43 +0000
(23:11 +0100)
git-subtree.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
d344532
)
diff --git
a/git-subtree.sh
b/git-subtree.sh
index 8baa376fe5b99dff91fa6cfc9f8fedab69644acb..28fb8e81fb80349a17763a819666308ebc0a589e 100755
(executable)
--- 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
h,help show the help
q quiet
d show debug messages
-p
refix=
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
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 ;;
--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= ;;
--no-prefix) prefix= ;;
--onto) onto="$1"; shift ;;
--no-onto) onto= ;;