summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-10-28 14:05:53 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-15 10:33:28 -0800
commit6e8d46f9d4bb3643b8fdf4e1b0856f7910dbc948 (patch)
tree1c2054b362b04919d41b8c823c013e86d2c928fe /.gitignore
parenthash-object: read --stdin-paths with strbuf_getline() (diff)
downloadtgif-6e8d46f9d4bb3643b8fdf4e1b0856f7910dbc948.tar.xz
revision: read --stdin with strbuf_getline()
Reading with getwholeline() and manually stripping the terminating '\n' would leave CR at the end of the line if the input comes from a DOS editor. Constrasting this with the other changes around "--stdin" in this series, one may realize that the way "log" family of commands read the paths with "--stdin" looks inconsistent and sloppy. It does not allow us to C-quote a textual input, neither does it accept records that are NUL-terminated. These are unfortunately way too late to fix X-<. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions