Go to file
Shawn O. Pearce 722acefdc4 Produce a useful error if /ssh_info was HTML and not plain text
If /ssh_info is protected by an HTML based login page, we may get
back a "200 OK" response from the server with some HTML document
asking us to authenticate.  This can't be parsed into a host name
and port number, so we shouldn't even try.

Valid host names and decimal port numbers cannot contain '<', but
an unexpected HTML login page would.  So we test for '<' to give
us a fair indicator that the content isn't what we think it is,
and bail out.

Signed-off-by: Shawn O. Pearce <sop@google.com>
2009-03-25 13:58:14 -07:00
docs Add a 'repo manifest' command whose help is the manifest file format 2009-03-04 14:26:50 -08:00
hooks Install a default pre-auto-gc hook in all repositories 2008-11-03 11:00:44 -08:00
subcmds Don't bother listing branch URLs during upload 2009-03-19 10:20:27 -07:00
.gitignore Initial Contribution 2008-10-21 07:00:00 -07:00
color.py Fix color parsing to not crash when user defined colors are set 2009-02-02 16:17:02 -08:00
command.py Don't permit users to run repo status in a mirror client 2009-03-03 17:47:06 -08:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Make repo's editor work when the editor is a commandline with 2008-11-14 21:12:44 -05:00
error.py Report better errors when a project revision is invalid 2009-03-02 12:56:08 -08:00
git_command.py Initial Contribution 2008-10-21 07:00:00 -07:00
git_config.py Produce a useful error if /ssh_info was HTML and not plain text 2009-03-25 13:58:14 -07:00
main.py Add global --trace command line option 2009-03-09 18:26:31 -07:00
manifest.py Add repo manifest -o to save a manifest 2009-03-05 10:32:38 -08:00
pager.py Initial Contribution 2008-10-21 07:00:00 -07:00
project.py Add repo manifest -o to save a manifest 2009-03-05 10:32:38 -08:00
remote.py Add <remote project-name="..."> attribute within projects 2008-11-06 11:23:06 -08:00
repo Correct the REPO_URL in the wrapper script to android.git.kernel.org 2008-12-18 07:21:32 -08:00