TopGit shell scripts use tabs and this commit instructs Vim via modeline not
to expand tabs.
Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@ucw.cz>
13 files changed:
{ if (incommand) { print $0; } }
' > tg-"$1".txt
+# vim:noet
info "Topic branch $name set up. Please fill .topmsg now and make initial commit."
info "To abort: git rm -f .top* && git checkout ${deps%% *} && $tg delete $name"
+
+# vim:noet
git update-ref -d "refs/top-bases/$name" "$baserev"
git update-ref -d "refs/heads/$name" "$branchrev"
+
+# vim:noet
git add -f "$root_dir/.topdeps"
git commit -m"New TopGit dependency: $name"
$tg update
+
+# vim:noet
depcount="$(cat "$output/series" | wc -l)"
echo "Exported topic branch $name (total $depcount topics) to directory $output"
fi
+
+# vim:noet
esac
done
done
+
+# vim:noet
echo "Up-to-date."
fi
rm "$depcheck"
+
+# vim:noet
eval git send-email $send_email_args "$people" "$patchfile"
rm "$patchfile"
+
+# vim:noet
echo "tg: ($base_rev..) $name (depends on: $(git cat-file blob "$name:.topdeps" | paste -s -d' '))"
branch_contains "$name" "$base_rev" ||
echo "tg: The patch is out-of-date wrt. the base! Run \`$tg update\`."
+
+# vim:noet
git config "topgit.remote" "$name"
info "The remote '$name' is now the default source of topic branches."
+
+# vim:noet
if [ -n "$graphviz" ]; then
echo '}'
fi
+
+# vim:noet
fi
exit 3
fi
+
+# vim:noet
}
. "@cmddir@"/tg-$cmd;;
esac
+
+# vim:noet