OSDN Git Service

Merge branch 'jc/strbuf-getline'
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 Jan 2016 00:10:14 +0000 (16:10 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Jan 2016 00:10:14 +0000 (16:10 -0800)
The preliminary clean-up for jc/peace-with-crlf topic.

* jc/strbuf-getline:
  strbuf: give strbuf_getline() to the "most text friendly" variant
  checkout-index: there are only two possible line terminations
  update-index: there are only two possible line terminations
  check-ignore: there are only two possible line terminations
  check-attr: there are only two possible line terminations
  mktree: there are only two possible line terminations
  strbuf: introduce strbuf_getline_{lf,nul}()
  strbuf: make strbuf_getline_crlf() global
  strbuf: miniscule style fix

1  2 
builtin/am.c
builtin/clone.c
builtin/commit.c
builtin/grep.c
builtin/notes.c
builtin/pull.c
strbuf.c
strbuf.h

diff --cc builtin/am.c
Simple merge
diff --cc builtin/clone.c
Simple merge
Simple merge
diff --cc builtin/grep.c
Simple merge
diff --cc builtin/notes.c
Simple merge
diff --cc builtin/pull.c
Simple merge
diff --cc strbuf.c
Simple merge
diff --cc strbuf.h
Simple merge