aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-08-13 18:14:27 +0200
committerJunio C Hamano <gitster@pobox.com>2018-08-13 14:14:43 -0700
commit86016ec3042ec52eef9f45386c50384419d030c0 (patch)
tree9eeb7818b27edc24d7d7e29818f1615fc05ca5c1 /builtin/commit.c
parentunpack-trees: add a note about path invalidation (diff)
downloadgit-86016ec3042ec52eef9f45386c50384419d030c0.tar.gz
git-86016ec3042ec52eef9f45386c50384419d030c0.zip
unpack-trees: don't shadow global var the_index
This function mark_new_skip_worktree() has an argument named the_index which is also the name of a global variable. While they have different types (the global the_index is not a pointer) mistakes can easily happen and it's also confusing for readers. Rename the function argument to something other than the_index. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions