A bit more commenting and cleaning up.
[git.git] / RB
diff --git a/RB b/RB
index ebd5efe..918a372 100755 (executable)
--- a/RB
+++ b/RB
@@ -9,6 +9,12 @@ sed -n \
     -e '/^[^\/][^\/]\//p' |
 while read topic
 do
+       case " $* " in
+       *' '"$topic"' '*)
+               echo >&2 "* Skipping $topic"
+               continue ;;
+       esac
+
        rebase= done= not_done= trouble= date=
        topic_sha1=`git rev-parse --verify "refs/heads/$topic"`