diff options
author | 2024-01-21 12:23:18 -0800 | |
---|---|---|
committer | 2024-01-21 12:23:18 -0800 | |
commit | 7d16e8ef45485adda0cce4f507084e2ec412855b (patch) | |
tree | 5528385c72dd7ac823e56b9bd4dca807be73cf69 | |
parent | fix: dist should only use files known to git (diff) | |
download | gitolite-gentoo-7d16e8ef45485adda0cce4f507084e2ec412855b.tar.gz gitolite-gentoo-7d16e8ef45485adda0cce4f507084e2ec412855b.tar.bz2 gitolite-gentoo-7d16e8ef45485adda0cce4f507084e2ec412855b.zip |
fix: skip empty metadataHEADgitolite-gentoo-3.6.13.1master
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | src/lib/Gitolite/Conf/Load.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Gitolite/Conf/Load.pm b/src/lib/Gitolite/Conf/Load.pm index 0744ee3..f917f88 100644 --- a/src/lib/Gitolite/Conf/Load.pm +++ b/src/lib/Gitolite/Conf/Load.pm @@ -282,6 +282,7 @@ sub env_user_options { $line =~ s/^\s*#\s*//; my ($variable, $value) = split(/:\s*/, $line, 2); + next unless $value && $value =~ /\w/; chomp($value); $value =~ s/^\s+|\s+$//; |