/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strbuf: introduce strbuf_getline_{lf,nul}()
[git/git.git]
/
test-sha1-array.c
diff --git
a/test-sha1-array.c
b/test-sha1-array.c
index
ddc491e
..
700f3f3
100644
(file)
--- a/
test-sha1-array.c
+++ b/
test-sha1-array.c
@@
-11,7
+11,7
@@
int main(int argc, char **argv)
struct sha1_array array = SHA1_ARRAY_INIT;
struct strbuf line = STRBUF_INIT;
- while (strbuf_getline
(&line, stdin, '\n'
) != EOF) {
+ while (strbuf_getline
_lf(&line, stdin
) != EOF) {
const char *arg;
unsigned char sha1[20];