Signed-off-by: martin f. krafft <madduck@debian.org>
14 files changed:
From: martin f. krafft <madduck@debian.org>
Subject: [TopGit PATCH] Add Vim modelines for consistent spacing
From: martin f. krafft <madduck@debian.org>
Subject: [TopGit PATCH] Add Vim modelines for consistent spacing
-TopGit shell scripts use sw=8:ts=8:noet and to ensure that everyone complies,
-these modelines configure Vim on open.
+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>
Signed-off-by: martin f. krafft <madduck@debian.org>
{ if (incommand) { print $0; } }
' > tg-"$1".txt
{ if (incommand) { print $0; } }
' > tg-"$1".txt
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"
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"
git update-ref -d "refs/top-bases/$name" "$baserev"
git update-ref -d "refs/heads/$name" "$branchrev"
git update-ref -d "refs/top-bases/$name" "$baserev"
git update-ref -d "refs/heads/$name" "$branchrev"
git commit -m"New TopGit dependency: $name"
$tg update
git commit -m"New TopGit dependency: $name"
$tg update
echo "Exported topic branch $name (total $depcount topics) to directory $output"
fi
echo "Exported topic branch $name (total $depcount topics) to directory $output"
fi
branch_contains "$name" "$base_rev" ||
echo "tg: The patch is out-of-date wrt. the base! Run \`$tg update\`."
branch_contains "$name" "$base_rev" ||
echo "tg: The patch is out-of-date wrt. the base! Run \`$tg update\`."
git config "topgit.remote" "$name"
info "The remote '$name' is now the default source of topic branches."
git config "topgit.remote" "$name"
info "The remote '$name' is now the default source of topic branches."
. "@cmddir@"/tg-$cmd;;
esac
. "@cmddir@"/tg-$cmd;;
esac