summaryrefslogtreecommitdiff
path: root/show-index.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-11-11 21:08:03 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-07 14:25:46 -0800
commitedc54fb5d4ce6774fc2ac76779bd57dc2d6ab189 (patch)
tree5d95bd32dc8e15db507f9c268c4a4c8a0ed346c3 /show-index.c
parentupdate-index: migrate to parse-options API (diff)
downloadtgif-edc54fb5d4ce6774fc2ac76779bd57dc2d6ab189.tar.xz
Make prefix_path() return char* without const
prefix_path() allocates new buffer. There's no reason for it to keep the buffer for itself and waste memory. 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 'show-index.c')
0 files changed, 0 insertions, 0 deletions