From: Junio C Hamano Date: Fri, 11 Oct 2024 17:47:43 GMT Subject: Re: [PATCH v4 0/3] Remove the_repository global for am, annotate, apply, archive builtins Message-ID: In-Reply-To: "John Cai via GitGitGadget" writes: > Remove the_repository global variable for the annotate, apply, and archive > bulitins. > > Changes since V3: > > * Improve commit message in patch 2 > > Changes since V1: > > * in patch 1, only pass in repo to the bulitin if the repo exists > > Changes since V2: > > * drop patch 3, which is a bit more involved to dis-entangle the_repository > * use a single variable in run_builtin() to keep track of whether or not we > are operating in a repository > > John Cai (3): > git: pass in repo to builtin based on setup_git_directory_gently > annotate: remove usage of the_repository global > archive: remove the_repository global variable Will queue. Thanks, all.