summaryrefslogtreecommitdiff
path: root/t/.gitattributes
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2019-11-21 22:04:50 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-11-22 16:11:45 +0900
commit416adc8711d16c5231693f19ca483dd3d59bef5d (patch)
tree95e680824a7d5869e6dd447d00dab11f653c04fd /t/.gitattributes
parentsparse-checkout: cone mode should not interact with .gitignore (diff)
downloadtgif-416adc8711d16c5231693f19ca483dd3d59bef5d.tar.xz
sparse-checkout: update working directory in-process for 'init'
The 'git sparse-checkout init' subcommand previously wrote directly to the sparse-checkout file and then updated the working directory. This may fail if there are modified files not included in the initial pattern set. However, that left a populated sparse-checkout file. Use the in-process working directory update to guarantee that the init subcommand only changes the sparse-checkout file if the working directory update succeeds. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/.gitattributes')
0 files changed, 0 insertions, 0 deletions