diff options
author | Carsten Pfeiffer <carsten.pfeiffer@gebit.de> | 2011-03-16 16:57:35 +0100 |
---|---|---|
committer | Chris Aniszczyk <caniszczyk@gmail.com> | 2011-04-01 20:26:15 -0500 |
commit | 11e2e746c13cc94cabc96e708f3c6a2b159b5995 (patch) | |
tree | 7893a3d1d4b62a8242506b673575905a804be075 /org.eclipse.jgit.test | |
parent | 1e03d52f33bbe8398ca0f19612d8f908d4f2a3ec (diff) | |
download | jgit-11e2e746c13cc94cabc96e708f3c6a2b159b5995.tar.gz jgit-11e2e746c13cc94cabc96e708f3c6a2b159b5995.zip |
Support reading first SHA-1 from large FETCH_HEAD files
When reading refs, avoid reading huge files that were put there
accidentally, but still read the top of e.g. FETCH_HEAD, which
may be longer than our limit. We're only interested in the first line
anyway.
Bug: 340880
Change-Id: I11029b9b443f22019bf80bd3dd942b48b531bc11
Signed-off-by: Carsten Pfieffer <carsten.pfeiffer@gebit.de>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.test')
0 files changed, 0 insertions, 0 deletions