]> git.feebdaed.xyz Git - 0xmirror/git.git/commit
pull: move options[] array into function scope
authorK Jayatheerth <jayatheerthkulkarni2005@gmail.com>
Fri, 12 Dec 2025 07:44:33 +0000 (13:14 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Dec 2025 13:08:02 +0000 (22:08 +0900)
commitbab391761d1c7cff59d1c29ee546efc3e588473d
tree73df1c9230e4e0ecd7b929ee38e95280ac00fa06
parent9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed
pull: move options[] array into function scope

Unless there are good reasons, it is customary to have the options[]
array used with the parse-options API declared in function scope rather
than at file scope.

Move builtin/pull.c:cmd_pull()’s options[] array into the function to
match that convention.

Signed-off-by: K Jayatheerth <jayatheerthkulkarni2005@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pull.c