summaryrefslogtreecommitdiff
path: root/merge-cache.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2005-08-24 17:58:42 -0400
committerJunio C Hamano <junkio@cox.net>2005-08-24 16:50:16 -0700
commitd998a0895fc20c03007d8b2a74b78b37e1cdfaba (patch)
tree4b40568f1864ea00b321acd09ad48543acb73b04 /merge-cache.c
parentff84d327dfb8a9aa0634b0aaaca1c018cdc5117a (diff)
downloadgit-d998a0895fc20c03007d8b2a74b78b37e1cdfaba.tar.gz
[PATCH] Fix "prefix" mixup in git-rev-list
Recent changes in git have broken cg-log. git-rev-list no longer prints "commit" in front of commit hashes. It turn out a local "prefix" variable in main() shadows a file-scoped "prefix" variable. The patch removed the local "prefix" variable since its value is never used (in the intended way, that is). The call to setup_git_directory() is kept since it has useful side effects. The file-scoped "prefix" variable is renamed to "commit_prefix" just in case someone reintroduces "prefix" to hold the return value of setup_git_directory(). Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'merge-cache.c')
0 files changed, 0 insertions, 0 deletions