mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
![]() The previous method simply used the UNIX timestamp of when the binary was built as its build label. $ make && ./git-remote-persistent-http -print_label 1469061546 This patch aims to align the label for this binary with the Git version contained in the GIT-VERSION-FILE. This gives a better sense of the version of the binary as it can be mapped to a particular revision or release of Git itself. For example: $ make && ./git-remote-persistent-http -print_label 2.9.1.275.g75676c8 Discussion of this patch is available on a related thread in the mailing list surrounding this package called "contrib/persistent-https: update ldflags syntax for Go 1.7+". The gmane.org link is: http://article.gmane.org/gmane.comp.version-control.git/299653/ Signed-off-by: Parker Moore <parkrmoore@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
client.go | ||
LICENSE | ||
main.go | ||
Makefile | ||
proxy.go | ||
README | ||
socket.go |
git-remote-persistent-https The git-remote-persistent-https binary speeds up SSL operations by running a daemon job (git-remote-persistent-https--proxy) that keeps a connection open to a server. PRE-BUILT BINARIES Darwin amd64: https://commondatastorage.googleapis.com/git-remote-persistent-https/darwin_amd64.tar.gz Linux amd64: https://commondatastorage.googleapis.com/git-remote-persistent-https/linux_amd64.tar.gz INSTALLING Move all of the git-remote-persistent-http* binaries to a directory in PATH. USAGE HTTPS requests can be delegated to the proxy by using the "persistent-https" scheme, e.g. git clone persistent-https://kernel.googlesource.com/pub/scm/git/git Likewise, .gitconfig can be updated as follows to rewrite https urls to use persistent-https: [url "persistent-https"] insteadof = https [url "persistent-http"] insteadof = http ##################################################################### # BUILDING FROM SOURCE ##################################################################### LOCATION The source is available in the contrib/persistent-https directory of the Git source repository. The Git source repository is available at git://git.kernel.org/pub/scm/git/git.git/ https://kernel.googlesource.com/pub/scm/git/git PREREQUISITES The code is written in Go (http://golang.org/) and the Go compiler is required. Currently, the compiler must be built and installed from tip of source, in order to include a fix in the reverse http proxy: http://code.google.com/p/go/source/detail?r=a615b796570a2cd8591884767a7d67ede74f6648 BUILDING Run "make" to build the binaries. See the section on INSTALLING above.