Rack::Auth can not work with git command?

7 views
Skip to first unread message

Saito

unread,
Feb 22, 2012, 9:08:52 AM2/22/12
to Rack Development
i have been run a [grack](https://github.com/schacon/grack) server on
my computer.

created and edited a new .netrc file.

`machine localhost login 123 password 456`

then i tested grack by curl:

`curl --netrc --location -v http://localhost/grit.git/HEAD | grep
'ref: refs/heads`

and i can get `auth.username` is `123`

when i do with git command:

`git clone http://localhost/grit.git`

`auth.provided?` is `false`
Reply all
Reply to author
Forward
0 new messages