From 346b1324b4bcf854f8aba8af575f4ae238db812b Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Sat, 7 Feb 2015 12:14:06 +0530 Subject: fix ugliness in http output when only base URL is given --- src/gitolite-shell | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gitolite-shell b/src/gitolite-shell index 879da54..e299ad2 100755 --- a/src/gitolite-shell +++ b/src/gitolite-shell @@ -67,6 +67,7 @@ sub in_http { # fake out SSH_ORIGINAL_COMMAND and SSH_CONNECTION when called via http, # so the rest of the code stays the same (except the exec at the end). http_simulate_ssh_connection(); + $ENV{SSH_ORIGINAL_COMMAND} ||= ''; $ENV{REMOTE_USER} ||= $rc{HTTP_ANON_USER}; @ARGV = ( $ENV{REMOTE_USER} ); -- cgit v1.2.3-65-gdbad