Revision 82f2567e3d01a6eeb4c6a0b9139232034de6e60f authored by Lars Schneider on 28 April 2016, 06:26:33 UTC, committed by Junio C Hamano on 28 April 2016, 17:03:13 UTC
Git LFS 1.2.0 removed a preamble from the output of the 'git lfs pointer'
command [1] which broke the parsing of this output. Adjust the parser
to support the old and the new format.

Please note that this patch slightly changes the second return parameter
from a list of LF terminated strings to a single string that contains
a number of LF characters.

[1] https://github.com/github/git-lfs/commit/da2935d9a739592bc775c98d8ef4df9c72ea3b43

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Helped-by: Sebastian Schuberth <sschuberth@gmail.com>
Helped-by: Ben Woosley <ben.woosley@gmail.com>
Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3d319f2
History
File Mode Size
bitmap.c -rw-r--r-- 4.9 KB
ewah_bitmap.c -rw-r--r-- 16.1 KB
ewah_io.c -rw-r--r-- 5.3 KB
ewah_rlw.c -rw-r--r-- 2.9 KB
ewok.h -rw-r--r-- 6.5 KB
ewok_rlw.h -rw-r--r-- 3.1 KB

back to top