This variable renaming makes a subsequent more meaningful change smaller. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> --- builtin/update-index.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/builtin/update-index.c b/builtin/update-index.c index 1884124224c..af02ff39756 100644 --- a/builtin/update-index.c +++ b/builtin/update-index.c @@ -1194,15 +1194,15 @@ int cmd_update_index(int argc, const char **argv, const char *prefix) } if (read_from_stdin) { - struct strbuf buf = STRBUF_INIT; + struct strbuf line = STRBUF_INIT; struct strbuf unquoted = STRBUF_INIT; setup_work_tree(); - while (getline_fn(&buf, stdin) != EOF) - line_from_stdin(&buf, &unquoted, prefix, prefix_length, + while (getline_fn(&line, stdin) != EOF) + line_from_stdin(&line, &unquoted, prefix, prefix_length, nul_term_line, set_executable_bit, 0); strbuf_release(&unquoted); - strbuf_release(&buf); + strbuf_release(&line); } if (split_index > 0) { -- 2.35.1.1428.g1c1a0152d61