From: martin f. krafft Date: Thu, 20 Nov 2008 14:38:04 +0000 (+0100) Subject: only set noet X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=commitdiff_plain;h=50c4d01dc14c1be93d08c319e277c5227595d8c3;ds=sidebyside only set noet Signed-off-by: martin f. krafft --- diff --git a/.topmsg b/.topmsg index 2598d68..d866ccb 100644 --- a/.topmsg +++ b/.topmsg @@ -1,7 +1,7 @@ From: martin f. krafft 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 diff --git a/create-help.sh b/create-help.sh index 8324b2a..fbd9a09 100755 --- a/create-help.sh +++ b/create-help.sh @@ -15,4 +15,4 @@ fi { if (incommand) { print $0; } } ' > tg-"$1".txt -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg-create.sh b/tg-create.sh index 677c19d..6e84907 100644 --- a/tg-create.sh +++ b/tg-create.sh @@ -142,4 +142,4 @@ git add -f "$root_dir/.topmsg" 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:sw=8:ts=8:noet +# vim:noet diff --git a/tg-delete.sh b/tg-delete.sh index 37f4bac..ab121c2 100644 --- a/tg-delete.sh +++ b/tg-delete.sh @@ -45,4 +45,4 @@ branch_empty "$name" || nonempty=1 git update-ref -d "refs/top-bases/$name" "$baserev" git update-ref -d "refs/heads/$name" "$branchrev" -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg-depend.sh b/tg-depend.sh index 4539188..ef5f94f 100644 --- a/tg-depend.sh +++ b/tg-depend.sh @@ -48,4 +48,4 @@ git add -f "$root_dir/.topdeps" git commit -m"New TopGit dependency: $name" $tg update -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg-export.sh b/tg-export.sh index 73a6ec8..90a76d5 100644 --- a/tg-export.sh +++ b/tg-export.sh @@ -200,4 +200,4 @@ elif [ "$driver" = "quilt" ]; then echo "Exported topic branch $name (total $depcount topics) to directory $output" fi -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg-import.sh b/tg-import.sh index 5c0484c..a8d3be5 100644 --- a/tg-import.sh +++ b/tg-import.sh @@ -117,4 +117,4 @@ do done done -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg-info.sh b/tg-info.sh index 6ae55c3..7d6a34c 100644 --- a/tg-info.sh +++ b/tg-info.sh @@ -74,4 +74,4 @@ else fi rm "$depcheck" -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg-mail.sh b/tg-mail.sh index 4d23a0e..f5c0cf4 100644 --- a/tg-mail.sh +++ b/tg-mail.sh @@ -56,4 +56,4 @@ eval git send-email $send_email_args "$people" "$patchfile" rm "$patchfile" -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg-patch.sh b/tg-patch.sh index 220a0b0..a704375 100644 --- a/tg-patch.sh +++ b/tg-patch.sh @@ -45,4 +45,4 @@ echo "tg: ($base_rev..) $name (depends on: $(git cat-file blob "$name:.topdeps" branch_contains "$name" "$base_rev" || echo "tg: The patch is out-of-date wrt. the base! Run \`$tg update\`." -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg-remote.sh b/tg-remote.sh index 2a9c4a0..c3e8bd3 100644 --- a/tg-remote.sh +++ b/tg-remote.sh @@ -60,4 +60,4 @@ git for-each-ref "refs/remotes/$name/top-bases" | git config "topgit.remote" "$name" info "The remote '$name' is now the default source of topic branches." -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg-summary.sh b/tg-summary.sh index c165d19..870fcf4 100644 --- a/tg-summary.sh +++ b/tg-summary.sh @@ -99,4 +99,4 @@ if [ -n "$graphviz" ]; then echo '}' fi -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg-update.sh b/tg-update.sh index 1114b7d..288ec14 100644 --- a/tg-update.sh +++ b/tg-update.sh @@ -143,4 +143,4 @@ if ! git merge "$merge_with"; then exit 3 fi -# vim:sw=8:ts=8:noet +# vim:noet diff --git a/tg.sh b/tg.sh index 137fef4..313c5b5 100644 --- a/tg.sh +++ b/tg.sh @@ -284,4 +284,4 @@ help|--help|-h) . "@cmddir@"/tg-$cmd;; esac -# vim:sw=8:ts=8:noet +# vim:noet