Disabling sparse checkout cone config not appearing to have effect on git 2.43

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)
I did "git config core.sparseCheckoutCone false" to disable the cone pattern matching of sparse checkout.
Then I did git sparse-checkout init with the sparse-checkout file in .git/info looking essentially like this:

/*
!A

where A is a file in the top level of the repo. Clearly, this is not a valid cone pattern. Which is why I set it to false.

What did you expect to happen? (Expected behavior)

I expected the sparse checkout will happen and the file "A" will not be in the working index.

What happened instead? (Actual behavior)

The command output warnings indicating that A is not a known pattern and that it was disabling cone pattern matching.

What's different between what you expected and what actually happened?

The core.sparseCheckoutCone being set to false does not seem to have an effect.

Anything else you want to add:

Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.43.2
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
uname: Linux 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64
compiler info: gnuc: 11.4
libc info: glibc: 2.35
$SHELL (typically, interactive shell): /bin/bash


[Enabled Hooks]
post-checkout





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux