diff options
author | Sitaram Chamarty <sitaramc@gmail.com> | 2018-04-05 06:51:59 +0530 |
---|---|---|
committer | Sitaram Chamarty <sitaramc@gmail.com> | 2018-04-05 06:51:59 +0530 |
commit | 69f92d6dc49fde79309d60e0978bb9402da3ac3b (patch) | |
tree | 726e3488190141fb5ed7c22e97271153fced9339 | |
parent | fix bug when deleting ALL hooks for a repo (diff) | |
download | gitolite-gentoo-69f92d6dc49fde79309d60e0978bb9402da3ac3b.tar.gz gitolite-gentoo-69f92d6dc49fde79309d60e0978bb9402da3ac3b.tar.bz2 gitolite-gentoo-69f92d6dc49fde79309d60e0978bb9402da3ac3b.zip |
allow hard tabs in template data
-rwxr-xr-x | src/commands/compile-template-data | 2 |
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/\\$//; |