summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f2012c)
raw | patch | inline | side by side (parent: 6f2012c)
author | Avery Pennarun <apenwarr@gmail.com> | |
Fri, 2 Oct 2009 20:09:09 +0000 (16:09 -0400) | ||
committer | Avery Pennarun <apenwarr@gmail.com> | |
Fri, 2 Oct 2009 20:09:48 +0000 (16:09 -0400) |
This didn't seem to have any noticeable side effects other than
suspicious-looking log messages when you used -d.
suspicious-looking log messages when you used -d.
git-subtree.sh | patch | blob | history |
diff --git a/git-subtree.sh b/git-subtree.sh
index 0949fefe20112d7d03e3036286313453a6da156b..cccc3400fdd8e3a06ccf8ac8f17589ca08afbffb 100755 (executable)
--- a/git-subtree.sh
+++ b/git-subtree.sh
--pretty=format:'START %H%n%s%n%n%b%nEND%n' $revs |
while read a b junk; do
case "$a" in
- START) main="$b"; sq="$b" ;;
+ START) sq="$b" ;;
git-subtree-mainline:) main="$b" ;;
git-subtree-split:) sub="$b" ;;
END)
+ debug " Main is: '$main'"
if [ -z "$main" -a -n "$sub" ]; then
# squash commits refer to a subtree
+ debug " Squash: $sq from $sub"
cache_set "$sq" "$sub"
fi
if [ -n "$main" -a -n "$sub" ]; then