Re: [PATCH v2 1/2] sparse-checkout: custom tab completion tests
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 31, 2021, 22:20 UTC
- Message-ID
- <xmqqy240l8l1.fsf@gitster.g>
- In-Reply-To
- <CABPp-BGdr54XgCXw8k1xRCgkwBtDonyODS3O+_nS_QY3SOEFGQ@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
Show 10 quoted lines
> Second, and this item is unrelated to your series but your comment > made me realize it....sparse-checkout unfortunately ignores prefix and > creates a bad .git/info/sparse-checkout file. For example: > ... > I think the loss of the current working directory will be fixed by the > en/keep-cwd directory (currently in next and marked for merging to > master), but the fact that the wrong paths end up in the > sparse-checkout file is unfortunate. It basically means that the > `set` and `add` subcommands of `sparse-checkout` can only be safely > run from the toplevel directory.
You made it sound as if this is a fundamental limitation, but it sounds more like a bug that needs to be fixed (outside the completion series, of course) to me.