diff options
author | Jay Soffian <jaysoffian@gmail.com> | 2010-04-19 18:08:30 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-19 22:18:36 -0700 |
commit | 5e1c71fd1488a33680c313f287b88d9f7a7d3e45 (patch) | |
tree | 7152cd201b6b54f2a805c62136cc3c349ac76553 /t/t5515/refs.master_remote-explicit | |
parent | Documentation/config.txt: default gc.aggressiveWindow is 250, not 10 (diff) | |
download | tgif-5e1c71fd1488a33680c313f287b88d9f7a7d3e45.tar.xz |
receive-pack: switch global variable 'commands' to a parameter
Receive-pack is inconsistent in its usage of the 'commands'
variable; though it is setup as a global and accessed that way by
execute_commands(), report(), and run_receive_hook(), it is also
passed as a parameter to delete_only() and run_update_post_hook().
For consistency, make it local to cmd_receive_pack and pass it as a
parameter. As long as we're cleaning up, also make our use of the
names 'commands' and 'cmd' consistent.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/refs.master_remote-explicit')
0 files changed, 0 insertions, 0 deletions