changed trim() calls to rtrim() because leading whitespace might be relevant (e.g. in status output)
changed trim() calls to rtrim() because leading whitespace might be relevant (e.g. in status output)

teqneers/PHP-Stream-Wrapper-for-Git