summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f4f2955)
raw | patch | inline | side by side (parent: f4f2955)
author | Avery Pennarun <apenwarr@gmail.com> | |
Sat, 30 May 2009 04:48:07 +0000 (00:48 -0400) | ||
committer | Avery Pennarun <apenwarr@gmail.com> | |
Sat, 30 May 2009 05:12:58 +0000 (01:12 -0400) |
git-subtree.sh | patch | blob | history |
diff --git a/git-subtree.sh b/git-subtree.sh
index ea0294fb79d969b37bf15ca6b051227feb13f822..65b6348fe455e93f750787c2136b11e6d0526b99 100755 (executable)
--- a/git-subtree.sh
+++ b/git-subtree.sh
ignore-joins ignore prior --rejoin commits
onto= try connecting new tree to an existing one
rejoin merge the new branch back into HEAD
+ options for 'merge' and 'pull'
+squash merge subtree changes as a single commit
"
eval $(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)
. git-sh-setup
rejoin=
ignore_joins=
annotate=
+squash=
debug()
{
--no-rejoin) rejoin= ;;
--ignore-joins) ignore_joins=1 ;;
--no-ignore-joins) ignore_joins= ;;
+ --squash) squash=1 ;;
+ --no-squash) squash= ;;
--) break ;;
*) die "Unexpected option: $opt" ;;
esac