760a4517a0
When push to a scp style url, like: git push git@github.com:git-lfs/git-lfs.git HEAD Git-lfs will complain about bad url. This is because golang 1.8 has changed the implement of `url.Parse` method. It will fail with a nil pointer and an error if the remote url is a scp style URL. Make a golang compatible test, I.E. check null pointer, then check u.Scheme. Signed-off-by: Jiang Xin <xin.jiang@huawei.com> |
||
---|---|---|
.. | ||
attribs.go | ||
filter_process_scanner_test.go | ||
filter_process_scanner.go | ||
git_test.go | ||
git.go | ||
object_scanner.go | ||
pkt_line_reader_test.go | ||
pkt_line_reader.go | ||
pkt_line_test.go | ||
pkt_line_writer_test.go | ||
pkt_line_writer.go | ||
pkt_line.go |