Commit Graph

4 Commits

Author SHA1 Message Date
Sascha Peilicke
5dcc27ddd0 Treat [host:port]:path URLs correctly
Remotes with custom ssh ports look like this in .git/config:

    [remote "origin"]
    url = [git@example.com:2323]:path/to.git

Strip the brackets from the URL parts to support those URLs.
2018-09-05 14:32:51 +02:00
Steffen Prohaska
acac3c4585
Map local abspath to file://<abspath> endpoint URL
It can be used to configure a standalone transfer agent for local files,
like:

```
git config lfs.customtransfer.file.path git-lfs-standalonetransfer-file
git config lfs.file:///.standalonetransferagent file
```

The `file://` scheme is required for Git config URL match to work.  An
absolute path alone cannot be used for URL matching.

An example implementation of a transfer agent is available as Gist
<https://gist.github.com/sprohaska/f3cd4287d8c41b74fc808b5a5396cad1>.

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
2018-04-02 14:56:00 +02:00
risk danger olson
fa1f5f931a lfsapi: allow Endpoint to override ssh auth operation 2017-01-25 08:59:31 -07:00
risk danger olson
c0f1266eb4 move endpoint pkg to lfsapi 2016-12-19 11:45:22 -07:00