Subject: Re: [PATCH v1 04/11] git-gui: put choose_repository::pick in a proc

From: Aina Boot <[email-masked]>
Date: Fri, 15 May 2026 12:00:22 +0100

On 5/14/26 2:33 PM, Mark Levedahl wrote:
>  set picked 0
> +proc pick_repo {} {
> +	unset_gitdir_vars
> +	load_config 1
> +	apply_config
> +	choose_repository::pick
> +	set _gitdir [git rev-parse --absolute-git-dir]
> +	set _prefix {}
> +	set picked 1
> +}
> +
>

Here inside the proc it create vars locally, "global..." is missing.

Aina