summaryrefslogtreecommitdiff
path: root/archive.c
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2014-02-24 20:21:43 +0400
committerJunio C Hamano <gitster@pobox.com>2014-03-20 15:04:32 -0700
commit1a27a1545230a5a19a3c05ed41efb8530d2fd2cd (patch)
treefbd3772d57a5f3346d5b382371f3b385cc8d42d2 /archive.c
parent5acabd84a6656a4f568f0e934cc9e1b344ed39d4 (diff)
downloadgit-1a27a1545230a5a19a3c05ed41efb8530d2fd2cd.tar.gz
tree-diff: simplify tree_entry_pathcmp
Since an earlier "Finally switch over tree descriptors to contain a pre-parsed entry", we can safely access all tree_desc->entry fields directly instead of first "extracting" them through tree_entry_extract. Use it. The code generated stays the same - only it now visually looks cleaner. Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.c')
0 files changed, 0 insertions, 0 deletions