aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/file/client.go
Commit message (Collapse)AuthorAgeFilesLines
* utils: remove ioutil.Pipe and use std library io.PipeAyman Bagabas2023-11-131-2/+1
| | | | ioutil.Pipe literally calls io.Pipe.
* utils: ioutil, Pipe implementatioMáximo Cuadros2021-05-021-1/+2
|
* plumbing: transport/file, replace os/exec with golang.org/x/sys/execabs to ↵Máximo Cuadros2021-04-171-9/+9
| | | | improve path security
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-2/+2
|
* *: add pointer to the new transport.Endpoint structMáximo Cuadros2017-11-211-2/+2
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* plumbing: use LookPath instead of Stat to fix Windows executablesJeremy Stribling2017-08-271-1/+1
| | | | | | When git-core isn't in the user's PATH, we need to use `LookPath` to verify the existence of the executable, rather than `os.Stat`, so that on Windows it will search for files with executable suffixes.
* plumbing: fix pack commands for the file client on WindowsJeremy Stribling2017-08-031-2/+53
| | | | | | The default git install on Windows doesn't come with commands for receive-pack and upload-pack in the default $PATH. Instead, use --exec-path to find pack executables in that case.
* transport: context package supportMáximo Cuadros2017-07-251-1/+9
|
* transport/file: avoid race with Command.Wait, fixes #463Santiago M. Mola2017-07-071-4/+14
| | | | | | Pipe returned by Command.StderrPipe() has a race with Read and Command.Wait(). We use a io.Pipe() instead and ensure it is closed after Wait().
* transport/internal: remove Wait function, use Close directlySantiago M. Mola2017-06-131-5/+12
|
* transport: make Endpoint an interface, fixes #362Santiago M. Mola2017-04-271-1/+1
| | | | | * add internal *url.URL implementation for regular URLs. * add internal implementation for SCP-like URLs.
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-2/+2
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* package plumbing documentation improvements (#248)Máximo Cuadros2017-02-071-0/+1
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-2/+2
|
* transport: remove SetAuth, fixes #206 (#210)Anthony Weems2017-01-171-9/+6
| | | | | * remove SetAuth functions, implement at NewUploadPackSession/NewReceivePackSession level. * propagate transport.Auth from Fetch/Pull/Clone options to the transport API.
* server: add git server implementation (#190)Santiago M. Mola2017-01-041-0/+82
* server: add generic server implementation (transport-independent), both for git-upload-pack and git-receive-pack. * server: move internal functions to internal/common. * cli: add git-receive-pack and git-upload-pack implementations. * format/packfile: add UpdateObjectStorage function, extracted from Remote. * transport: implement tranport RPC-like, only with git-upload-pack and git-receive-pack methods. Client renamed to Transport. * storer: add storer.Storer interface. * protocol/packp: add UploadPackResponse constructor with packfile. * protocol/packp: fix UploadPackResponse encoding, add tests. * protocol/packp/capability: implement All.