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-15 10:35:07 -0800 |
commit | a551843129dc4d329d4f7915a9c10120963acd7d (patch) | |
tree | 1b1cf74faaa641eb377a3d5a907ef19df923ccd7 /advice.c | |
parent | send-pack: read list of refs with strbuf_getline() (diff) | |
download | tgif-a551843129dc4d329d4f7915a9c10120963acd7d.tar.xz |
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 'advice.c')
0 files changed, 0 insertions, 0 deletions