diff options
author | Julian Phillips <julian@quantumfyre.co.uk> | 2011-07-16 19:23:51 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-07-20 15:51:55 -0700 |
commit | 6e8e67f3071ecdc139f6a77f90afee50b5ec1664 (patch) | |
tree | 51b14758f0731a26b60bc43e7092297e06a11587 /git-gui/lib/option.tcl | |
parent | git-config: Remove extra whitespaces (diff) | |
download | tgif-6e8e67f3071ecdc139f6a77f90afee50b5ec1664.tar.xz |
remote-curl: Add a format check to parsing of info/refs
When parsing info/refs, no checks were applied that the file was in
the requried format. Since the file is read from a remote webserver,
this isn't guarenteed to be true. Add a check that the file at least
only contains lines that consist of 40 characters followed by a tab
and then the ref name.
Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/option.tcl')
0 files changed, 0 insertions, 0 deletions