summaryrefslogtreecommitdiff
path: root/git-push-script
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2005-08-24 21:58:42 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-24 23:50:16 (GMT)
commitd998a0895fc20c03007d8b2a74b78b37e1cdfaba (patch)
tree4b40568f1864ea00b321acd09ad48543acb73b04 /git-push-script
parentff84d327dfb8a9aa0634b0aaaca1c018cdc5117a (diff)
downloadgit-d998a0895fc20c03007d8b2a74b78b37e1cdfaba.zip
git-d998a0895fc20c03007d8b2a74b78b37e1cdfaba.tar.gz
git-d998a0895fc20c03007d8b2a74b78b37e1cdfaba.tar.bz2
[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