glt learns to deal better with non-git commands
This commit is contained in:
parent
e743cab1a3
commit
c79f9d2381
3 changed files with 20 additions and 19 deletions
|
@ -34,8 +34,10 @@ exit 0;
|
|||
# XXX lots of stuff from gl-auth-command is missing for now...
|
||||
|
||||
sub in_local {
|
||||
print STDERR "TRACE: gsh(", join( ")(", @ARGV ), ")\n";
|
||||
print STDERR "TRACE: gsh(SOC=$ENV{SSH_ORIGINAL_COMMAND})\n";
|
||||
if ($ENV{SSH_ORIGINAL_COMMAND} =~ /git-\w+-pack/) {
|
||||
print STDERR "TRACE: gsh(", join( ")(", @ARGV ), ")\n";
|
||||
print STDERR "TRACE: gsh(SOC=$ENV{SSH_ORIGINAL_COMMAND})\n";
|
||||
}
|
||||
}
|
||||
|
||||
sub in_http {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue