]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'hn/checkout-track-fetch' into seen
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2026 04:01:37 +0000 (13:01 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2026 04:01:37 +0000 (13:01 +0900)
"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

1  2 
Documentation/git-checkout.adoc
Documentation/git-switch.adoc
builtin/checkout.c
t/t7201-co.sh

Simple merge
Simple merge
index b78b3a1d16def48852204be587c9131d5fb5363d,358783af170e6047c87f0b9df461d7398a7d62c8..37caceaefd7190aa4b43f12a37062926bab4c7b6
  #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"
diff --cc t/t7201-co.sh
Simple merge