diff options
| author | Toon Claes <toon@iotcl.com> | 2025-02-06 07:33:29 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-02-06 12:23:53 -0800 |
| commit | 7f420a6bda9704684ccc924070e8404dac55ffdf (patch) | |
| tree | c5da7131771a9966464de8f937973628b92efca2 /generate-python.sh | |
| parent | 58b5801aa94ad5031978f8e42c1be1230b3d352f (diff) | |
clone: cut down on global variables in clone.c
In clone.c the `struct option` which is used to parse the input options
for git-clone(1) is a global variable. Due to this, many variables that
are used to parse the value into, are also global.
Make `builtin_clone_options` a local variable in cmd_clone() and carry
along all variables that are only used in that function.
Signed-off-by: Toon Claes <toon@iotcl.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'generate-python.sh')
0 files changed, 0 insertions, 0 deletions
