summaryrefslogtreecommitdiff
path: root/builtin/ls-tree.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-07-14 15:36:02 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-15 10:56:09 -0700
commitb3920bbdc51fc360bde70e7c19088acfe44b9c4b (patch)
tree914e76d24a2b1371616f4a3e0a52172c097fb1b9 /builtin/ls-tree.c
parenttree-diff: remove the use of pathspec's raw[] in follow-rename codepath (diff)
downloadtgif-b3920bbdc51fc360bde70e7c19088acfe44b9c4b.tar.xz
rename field "raw" to "_raw" in struct pathspec
This patch is essentially no-op. It helps catching new use of this field though. This field is introduced as an intermediate step for the pathspec conversion and will be removed eventually. At this stage no more access sites should be introduced. 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/ls-tree.c')
-rw-r--r--builtin/ls-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/ls-tree.c b/builtin/ls-tree.c
index bdb03f3662..1c4f48ea8f 100644
--- a/builtin/ls-tree.c
+++ b/builtin/ls-tree.c
@@ -36,7 +36,7 @@ static int show_recursive(const char *base, int baselen, const char *pathname)
if (ls_options & LS_RECURSIVE)
return 1;
- s = pathspec.raw;
+ s = pathspec._raw;
if (!s)
return 0;