Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test-sha1-array.c')
-rw-r--r--test-sha1-array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-sha1-array.c b/test-sha1-array.c
index ddc491eff9..700f3f3422 100644
--- 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];