Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/exclusion-regression-fix'
[gitweb.git]
/
contrib
/
subtree
/
git-subtree.sh
diff --git
a/contrib/subtree/git-subtree.sh
b/contrib/subtree/git-subtree.sh
index 308b777b0aa43a7466fb3402cc67c1f023f57a7a..edf36f8c36091551d0a3e6cacb6c91446f0147eb 100755
(executable)
--- a/
contrib/subtree/git-subtree.sh
+++ b/
contrib/subtree/git-subtree.sh
@@
-90,7
+90,7
@@
while [ $# -gt 0 ]; do
--annotate) annotate="$1"; shift ;;
--no-annotate) annotate= ;;
-b) branch="$1"; shift ;;
- -P) prefix="$
1
"; shift ;;
+ -P) prefix="$
{1%/}
"; shift ;;
-m) message="$1"; shift ;;
--no-prefix) prefix= ;;
--onto) onto="$1"; shift ;;