chiark / gitweb /
Add Vim modelines for consistent spacing
authormartin f. krafft <madduck@debian.org>
Thu, 20 Nov 2008 14:46:05 +0000 (15:46 +0100)
committermartin f. krafft <madduck@debian.org>
Thu, 20 Nov 2008 14:46:05 +0000 (15:46 +0100)
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:
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

index 766e8d4304ff24c1ff1251bef1d0d6ea4bc3b864..fbd9a093d926b1a6ce53f3f138b624d008da168d 100755 (executable)
@@ -15,3 +15,4 @@ fi
        { if (incommand) { print $0; } }
 '  > tg-"$1".txt
 
+# vim:noet
index 6ee3f027d23e797ac80e07c1024b22aaedc461f5..6e8490742282f86f4bebf1908b0e0504e6753e6e 100644 (file)
@@ -141,3 +141,5 @@ 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:noet
index 7f7ede7068d71bd5f50e10686ea87398f26f1b41..ab121c2597c11534ff251944ade590490e151b23 100644 (file)
@@ -44,3 +44,5 @@ branch_empty "$name" || nonempty=1
 
 git update-ref -d "refs/top-bases/$name" "$baserev"
 git update-ref -d "refs/heads/$name" "$branchrev"
+
+# vim:noet
index ff4541c5980df606ab293cb224867c00577f5f65..ef5f94ff2919c605f268ff7b12f702b1f63e5e5d 100644 (file)
@@ -47,3 +47,5 @@ echo "$name" >>"$root_dir/.topdeps"
 git add -f "$root_dir/.topdeps"
 git commit -m"New TopGit dependency: $name"
 $tg update
+
+# vim:noet
index 52af88dfd14e891627b145f63702b1212155a82c..90a76d50fb7e35ed0048cc64a83b780d53727588 100644 (file)
@@ -199,3 +199,5 @@ elif [ "$driver" = "quilt" ]; then
        depcount="$(cat "$output/series" | wc -l)"
        echo "Exported topic branch $name (total $depcount topics) to directory $output"
 fi
+
+# vim:noet
index b036b8645f184f54ca14878cdc02312f4f925eaf..a8d3be5b3098d73c9b1dabfc9e1d509ae533a533 100644 (file)
@@ -116,3 +116,5 @@ do
                esac
        done
 done
+
+# vim:noet
index 90762479eb44f3b0ef2f366fc4a7865e05087c76..7d6a34ca617bc8d6ffc44f81613d30715905688c 100644 (file)
@@ -73,3 +73,5 @@ else
        echo "Up-to-date."
 fi
 rm "$depcheck"
+
+# vim:noet
index 7b8f7ffdd61b9b9b802df04790be5d51ffa67c2a..f5c0cf4313531aa60255e2de1fa2911e08b09ab5 100644 (file)
@@ -55,3 +55,5 @@ people=
 eval git send-email $send_email_args "$people" "$patchfile"
 
 rm "$patchfile"
+
+# vim:noet
index 97338ab63ef77f52eb876c77ca50b669c458f333..a7043756424098d30403a9ec652c932cbc0b5f44 100644 (file)
@@ -44,3 +44,5 @@ echo '-- '
 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
index 4f60c7394b7fcca6ddc4e4c3fabb25f59237e359..c3e8bd3968b9075963743a39198e9adcb2124140 100644 (file)
@@ -59,3 +59,5 @@ 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:noet
index 3c90a6b5952e526bac9da80e84386d6abf6246a8..870fcf4ddbfe9b988b5d2e35822558ff961fcda4 100644 (file)
@@ -98,3 +98,5 @@ git for-each-ref refs/top-bases |
 if [ -n "$graphviz" ]; then
        echo '}'
 fi
+
+# vim:noet
index 040800d6fb3805ef92519e436fe9cbb353cdbb77..288ec14f849495734fec17b839abf678f366ad78 100644 (file)
@@ -142,3 +142,5 @@ if ! git merge "$merge_with"; then
        fi
        exit 3
 fi
+
+# vim:noet
diff --git a/tg.sh b/tg.sh
index 1fe01155a27bc7e1bfff1de04d68e1dd62ab01ad..d8b62131b4052caa9a5217dd295600bc18ab37d7 100644 (file)
--- a/tg.sh
+++ b/tg.sh
@@ -298,3 +298,5 @@ help|--help|-h)
        }
        . "@cmddir@"/tg-$cmd;;
 esac
+
+# vim:noet