diff options
author | Linus Torvalds <torvalds@osdl.org> | 2006-07-31 13:13:55 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-31 13:42:13 -0700 |
commit | 3e04228b0c4bbb4b5cd46db9a714dfe699fa4cb8 (patch) | |
tree | b454a2a0b26b4d77555d1308580f005218f179e9 /builtin-log.c | |
parent | Fix double "close()" in ce_compare_data (diff) | |
download | tgif-3e04228b0c4bbb4b5cd46db9a714dfe699fa4cb8.tar.xz |
Fix up some fallout from "setup_git_directory()" cleanups
git-ls-files was broken by the setup_git_directory() calling changes,
because I had missed the fact that the "prefix" variable in that file was
static to the whole file, and unlike git-ls-tree (where I had fixed it
up), it ended up using two different variables with the same name
depending on what the scoping happened to be.
This fixes it up properly (by just removing the static variable, and
passing the automatic one around properly), and git-ls-files should work
again.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-log.c')
0 files changed, 0 insertions, 0 deletions