aboutsummaryrefslogtreecommitdiff
path: root/exec_cmd.h
diff options
context:
space:
mode:
authorScott R Parish <srp@srparish.net>2007-10-27 01:36:52 -0700
committerJunio C Hamano <gitster@pobox.com>2007-10-29 20:51:37 -0700
commit0966003c8e8d1528912b10667b903cd981e3a7f6 (patch)
tree01f838f8d9e826d850b14d35d4b496aca86d9d23 /exec_cmd.h
parent384df83312d24ea4d11adcf4e73921fc192595d2 (diff)
downloadgit-0966003c8e8d1528912b10667b903cd981e3a7f6.tar.gz
git-0966003c8e8d1528912b10667b903cd981e3a7f6.tar.xz
list_commands(): simplify code by using chdir()
The current code builds absolute path strings for each file to stat(), this can easily be avoided by chdir()ing into the directory. Signed-off-by: Scott R Parish <srp@srparish.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'exec_cmd.h')
0 files changed, 0 insertions, 0 deletions