]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ds/sparse-checkout-requires-per-worktree-config'
authorJunio C Hamano <gitster@pobox.com>
Fri, 25 Feb 2022 23:47:33 +0000 (15:47 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Feb 2022 23:47:33 +0000 (15:47 -0800)
commit6249ce2d1b9b60e7aa630d370e68c87ef6331629
treefafbfe509b3e197c0b1681d417d2cd1d220d8b84
parent268e6b8d4d95d9ade705666e152a4c054da32a47
parent3ce113827287079dced9aaf9c5d1e1734ecaa265
Merge branch 'ds/sparse-checkout-requires-per-worktree-config'

"git sparse-checkout" wants to work with per-worktree configuration,
but did not work well in a worktree attached to a bare repository.

* ds/sparse-checkout-requires-per-worktree-config:
  config: make git_configset_get_string_tmp() private
  worktree: copy sparse-checkout patterns and config on add
  sparse-checkout: set worktree-config correctly
  config: add repo_config_set_worktree_gently()
  worktree: create init_worktree_config()
  Documentation: add extensions.worktreeConfig details
builtin/sparse-checkout.c
builtin/worktree.c
config.c
config.h
sparse-index.c
t/t1091-sparse-checkout-builtin.sh
worktree.c