summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d0eb1b1)
raw | patch | inline | side by side (parent: d0eb1b1)
author | Avery Pennarun <apenwarr@gmail.com> | |
Sun, 26 Apr 2009 13:55:59 +0000 (09:55 -0400) | ||
committer | Avery Pennarun <apenwarr@gmail.com> | |
Sun, 26 Apr 2009 13:55:59 +0000 (09:55 -0400) |
git-subtree.sh | patch | blob | history |
diff --git a/git-subtree.sh b/git-subtree.sh
index e54651c33632b91d18b17adf43b420be7e77496d..8b797dfc23c8cfe7c5f7f4dea877be0dda45c87e 100755 (executable)
--- a/git-subtree.sh
+++ b/git-subtree.sh
dir="$1"
revs="$2"
git log --grep="^git-subtree-dir: $dir\$" \
- --pretty=format:'%s%n%n%b%nEND' "$revs" |
+ --pretty=format:'%s%n%n%b%nEND' $revs |
while read a b junk; do
case "$a" in
git-subtree-mainline:) main="$b" ;;