On Mac, where can I find git-http-backend?

To install Phabricator , I need git-http-backend(CGI script). Although this does not happen with Mac and HomeBrew git. Where can I find him?

Perhaps I could create a shell script with a name git-http-backendthat invokes git http-backend(i.e. invokes gitwith a command http-backend). But how can I handle the parameters?

Thanks for any pointers!

+4
source share
3 answers

I guessed too quickly that he was not there. Shame on me.

sudo find . -name git-http-backend The following is shown:

Mac git:

/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-http-backend
/Library/Developer/CommandLineTools/usr/libexec/git-core/git-http-backend

HomeBrew git:

/usr/local/Cellar/git/2.0.1/libexec/git-core/git-http-backend
+3
source

git git-scm.com - , git-http-backend :

/usr/local/git/libexec/git-core/git-http-backend
0

For those who installed git via MacPorts , yours git-http-backendis here:

/opt/local/libexec/git-core/git-http-backend
0
source

All Articles