aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaramc@gmail.com>2018-04-05 06:51:59 +0530
committerSitaram Chamarty <sitaramc@gmail.com>2018-04-05 06:51:59 +0530
commit69f92d6dc49fde79309d60e0978bb9402da3ac3b (patch)
tree726e3488190141fb5ed7c22e97271153fced9339
parentfix bug when deleting ALL hooks for a repo (diff)
downloadgitolite-gentoo-69f92d6dc49fde79309d60e0978bb9402da3ac3b.tar.gz
gitolite-gentoo-69f92d6dc49fde79309d60e0978bb9402da3ac3b.tar.bz2
gitolite-gentoo-69f92d6dc49fde79309d60e0978bb9402da3ac3b.zip
allow hard tabs in template data
-rwxr-xr-xsrc/commands/compile-template-data2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/compile-template-data b/src/commands/compile-template-data
index d30d5a9..e4ef86e 100755
--- a/src/commands/compile-template-data
+++ b/src/commands/compile-template-data
@@ -41,6 +41,8 @@ while (<>) {
next unless /\S/;
next if /^\s*#/;
+ s/\t/ /g; # all the same to us
+
# handle continuation lines (backslash as last character)
if (/\\$/) {
s/\\$//;