Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

git

macos

cgi

To install Phabricator, I need git-http-backend (a CGI script). Though this does not come with Mac's nor HomeBrew's git. Where can I find it?

I could probably create a shell script named git-http-backend that calls git http-backend (that is, call git with the command http-backend). But how do I deal with the parameters?

Thanks for any pointers!

like image 668
dcatteeu Avatar asked Sep 29 '22 20:09

dcatteeu


1 Answers

I assumed too quickly, that it wasn't there. Shame on me.

sudo find . -name git-http-backend revealed the following:

Mac's git:

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

HomeBrew's git:

/usr/local/Cellar/git/2.0.1/libexec/git-core/git-http-backend
like image 139
dcatteeu Avatar answered Oct 02 '22 14:10

dcatteeu