Community
Participate
Working Groups
I like using bzr to manage access to git source repos (I have a number of tools for bzr that I really like using). bzr has a plugin, called bzr-git, that works very well in interfacing against git repositories. bzr-git is being confused by git.eclipse.org however as fetching an invalid file from the Git server results in a 200 rather than a 404: $ curl -sS -I http://git.eclipse.org/c/vinalid-file-name HTTP/1.1 200 OK Date: Thu, 18 Aug 2011 15:58:35 GMT Server: Apache Expires: Thu, 18 Aug 2011 16:03:35 GMT Last-Modified: Thu, 18 Aug 2011 15:58:35 GMT X-NodeID: dev2 Vary: Accept-Encoding Content-Type: text/html; charset=UTF-8 Is it possible to return a 404 in this case?
There's no setting in cgit for that, and I wouldn't expect there to be one. cgit is a web front-end to git. It is meant to be human-readable, not machine-readable.
Thanks for the information, Denis. I've marked this as closed.
Thanks.