rack/rack — Issue #345: Rack::Auth can not work with git command?
Author: SaitoWu
Created: 2012-02-23 03:14:43+00:00
State: open

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`