From: Junio C Hamano Date: Wed, 3 Jun 2026 23:14:07 +0000 (+0900) Subject: Merge branch 'hn/checkout-track-fetch' into seen X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=96d736656aeeb1797d76653604dc257c360b36ea;p=thirdparty%2Fgit.git Merge branch 'hn/checkout-track-fetch' into seen "git checkout --track=..." learned to optionally fetch the branch from the remote the new branch will work with. * hn/checkout-track-fetch: checkout: extend --track with a "fetch" mode to refresh start-point branch: expose helpers for finding the remote owning a tracking ref --- 96d736656aeeb1797d76653604dc257c360b36ea diff --cc builtin/checkout.c index b78b3a1d16,358783af17..37caceaefd --- a/builtin/checkout.c +++ b/builtin/checkout.c @@@ -29,10 -31,8 +30,11 @@@ #include "repo-settings.h" #include "resolve-undo.h" #include "revision.h" + #include "run-command.h" +#include "sequencer.h" #include "setup.h" +#include "sparse-index.h" +#include "strvec.h" #include "submodule.h" #include "symlinks.h" #include "trace2.h"