chiark / gitweb /
only set noet
authormartin f. krafft <madduck@debian.org>
Thu, 20 Nov 2008 14:38:04 +0000 (15:38 +0100)
committermartin f. krafft <madduck@debian.org>
Thu, 20 Nov 2008 14:38:04 +0000 (15:38 +0100)
Signed-off-by: martin f. krafft <madduck@debian.org>
14 files changed:
.topmsg
create-help.sh
tg-create.sh
tg-delete.sh
tg-depend.sh
tg-export.sh
tg-import.sh
tg-info.sh
tg-mail.sh
tg-patch.sh
tg-remote.sh
tg-summary.sh
tg-update.sh
tg.sh

diff --git a/.topmsg b/.topmsg
index 2598d68df0655ff9484f938c9980288597257a8f..d866ccb85e9156fec2d2e1d672846bc60f3056cc 100644 (file)
--- a/.topmsg
+++ b/.topmsg
@@ -1,7 +1,7 @@
 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>
index 8324b2a75f14411513afe966d8a45d8b9b776438..fbd9a093d926b1a6ce53f3f138b624d008da168d 100755 (executable)
@@ -15,4 +15,4 @@ fi
        { if (incommand) { print $0; } }
 '  > tg-"$1".txt
 
        { if (incommand) { print $0; } }
 '  > tg-"$1".txt
 
-# vim:sw=8:ts=8:noet
+# vim:noet
index 677c19ddf8c05876b1cb9927ffd6e8765cc054c3..6e8490742282f86f4bebf1908b0e0504e6753e6e 100644 (file)
@@ -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"
 
 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
index 37f4bacad1fe2415c4bf62cb02cb2527247d4627..ab121c2597c11534ff251944ade590490e151b23 100644 (file)
@@ -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"
 
 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
index 4539188f82b572c578f6c84c5dac9133b77db1bf..ef5f94ff2919c605f268ff7b12f702b1f63e5e5d 100644 (file)
@@ -48,4 +48,4 @@ git add -f "$root_dir/.topdeps"
 git commit -m"New TopGit dependency: $name"
 $tg update
 
 git commit -m"New TopGit dependency: $name"
 $tg update
 
-# vim:sw=8:ts=8:noet
+# vim:noet
index 73a6ec8c34bbdfc57ec121b3bedb3c2e0bd5fcc9..90a76d50fb7e35ed0048cc64a83b780d53727588 100644 (file)
@@ -200,4 +200,4 @@ elif [ "$driver" = "quilt" ]; then
        echo "Exported topic branch $name (total $depcount topics) to directory $output"
 fi
 
        echo "Exported topic branch $name (total $depcount topics) to directory $output"
 fi
 
-# vim:sw=8:ts=8:noet
+# vim:noet
index 5c0484c57454034ef58b5661c735b2690ba2f057..a8d3be5b3098d73c9b1dabfc9e1d509ae533a533 100644 (file)
@@ -117,4 +117,4 @@ do
        done
 done
 
        done
 done
 
-# vim:sw=8:ts=8:noet
+# vim:noet
index 6ae55c3856de596cdca3c0997182d21a3b205e69..7d6a34ca617bc8d6ffc44f81613d30715905688c 100644 (file)
@@ -74,4 +74,4 @@ else
 fi
 rm "$depcheck"
 
 fi
 rm "$depcheck"
 
-# vim:sw=8:ts=8:noet
+# vim:noet
index 4d23a0e94bbef3ebf8e738787c754e61158036d6..f5c0cf4313531aa60255e2de1fa2911e08b09ab5 100644 (file)
@@ -56,4 +56,4 @@ eval git send-email $send_email_args "$people" "$patchfile"
 
 rm "$patchfile"
 
 
 rm "$patchfile"
 
-# vim:sw=8:ts=8:noet
+# vim:noet
index 220a0b093575eb9c3381388ad8c8af21fa14a9f6..a7043756424098d30403a9ec652c932cbc0b5f44 100644 (file)
@@ -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\`."
 
 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
index 2a9c4a074957f4dc2f48b472ae799bd1e1d38c80..c3e8bd3968b9075963743a39198e9adcb2124140 100644 (file)
@@ -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."
 
 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
index c165d1989641c07fe91755ea308e5db59b7bf396..870fcf4ddbfe9b988b5d2e35822558ff961fcda4 100644 (file)
@@ -99,4 +99,4 @@ if [ -n "$graphviz" ]; then
        echo '}'
 fi
 
        echo '}'
 fi
 
-# vim:sw=8:ts=8:noet
+# vim:noet
index 1114b7d248fce5737f750c05b13f92259e0e0c52..288ec14f849495734fec17b839abf678f366ad78 100644 (file)
@@ -143,4 +143,4 @@ if ! git merge "$merge_with"; then
        exit 3
 fi
 
        exit 3
 fi
 
-# vim:sw=8:ts=8:noet
+# vim:noet
diff --git a/tg.sh b/tg.sh
index 137fef4827a8b78736aa2189ecb10b9b79758c8e..313c5b5f9f9a545e5b35000dddaa17e559d971ca 100644 (file)
--- a/tg.sh
+++ b/tg.sh
@@ -284,4 +284,4 @@ help|--help|-h)
        . "@cmddir@"/tg-$cmd;;
 esac
 
        . "@cmddir@"/tg-$cmd;;
 esac
 
-# vim:sw=8:ts=8:noet
+# vim:noet