diff options
author | Pavel Roskin <proski@gnu.org> | 2005-08-25 01:58:42 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-25 03:50:16 +0400 |
commit | d998a0895fc20c03007d8b2a74b78b37e1cdfaba (patch) | |
tree | 4b40568f1864ea00b321acd09ad48543acb73b04 /git-push-script | |
parent | ff84d327dfb8a9aa0634b0aaaca1c018cdc5117a (diff) |
[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 'git-push-script')
0 files changed, 0 insertions, 0 deletions