diff options
| author | Junio C Hamano <gitster@pobox.com> | 2015-10-28 13:53:47 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-01-14 14:30:41 -0800 |
| commit | c99e22adffa4e59a8ea601cc8070afa283823e63 (patch) | |
| tree | 727621d39b07724998ec9491674d1f0ee021111c /test-sha1-array.c | |
| parent | cfb938a900075e185d42dd4e9267e4ccb818a417 (diff) | |
| download | git-c99e22adffa4e59a8ea601cc8070afa283823e63.tar.gz | |
grep: read -f file with strbuf_getline()
List of patterns file could come from a DOS editor.
This is iffy; you may actually be trying to find a line with ^M in
it on a system whose line ending is LF. You can of course work it
around by having a line that has "^M^M^J", let the strbuf_getline()
eat the last "^M^J", leaving just the single "^M" as the pattern.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-sha1-array.c')
0 files changed, 0 insertions, 0 deletions
