git-lfs/git
Jiang Xin 760a4517a0 Bugfix: cannot push to scp style URL
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>
2017-05-04 07:18:21 +08:00
..
attribs.go commands: look for line endings in .gitattributes 2017-02-03 17:13:42 -07:00
filter_process_scanner_test.go git: parse filter process header values containing '=' properly 2016-12-02 14:19:44 +01:00
filter_process_scanner.go git: parse filter process header values containing '=' properly 2016-12-02 14:19:44 +01:00
git_test.go test: Add TestValidateRemoteURL for ValidateRemoteURL 2017-05-04 07:18:08 +08:00
git.go Bugfix: cannot push to scp style URL 2017-05-04 07:18:21 +08:00
object_scanner.go git: implement git.ObjectScanner type to read object contents 2017-04-04 14:14:02 -06:00
pkt_line_reader_test.go filter-process: fix reading 1024 byte files 2016-11-22 12:21:48 +01:00
pkt_line_reader.go git: remove extraneous length check 2016-11-22 10:57:18 -07:00
pkt_line_test.go git/pl: flush underlying *bufio.Writer only when necessary 2016-11-15 14:35:21 -07:00
pkt_line_writer_test.go git/pw: leave "p" buffer unmodified 2016-11-10 15:25:28 -07:00
pkt_line_writer.go update package imports 2016-11-15 10:01:18 -07:00
pkt_line.go git/pl: document pkt-line behavior 2016-11-15 14:35:21 -07:00