From: Derrick Stolee <stolee@gmail.com>
To: Derrick Stolee via GitGitGadget <gitgitgadget@gmail.com>,
git@vger.kernel.org
Cc: gitster@pobox.com, newren@gmail.com,
Derrick Stolee <derrickstolee@github.com>,
Kevin Willford <kewillf@microsoft.com>,
vdye@github.com
Subject: Re: [PATCH] reset: behave correctly with sparse-checkout
Date: Tue, 28 Sep 2021 16:20:16 -0400 [thread overview]
Message-ID: <bd7d6515-e1ca-9646-5e73-5594d7991ec3@gmail.com> (raw)
In-Reply-To: <pull.1047.git.1632842421213.gitgitgadget@gmail.com>
On 9/28/2021 11:20 AM, Derrick Stolee via GitGitGadget wrote:
> From: Kevin Willford <kewillf@microsoft.com>
>
> When using the sparse checkout feature, 'git reset' will add entries to
> the index that will have the skip-worktree bit off but will leave the
> working directory empty. File data is lost because the index version of
> the files has been changed but there is nothing that is in the working
> directory. This will cause the next 'git status' call to show either
> deleted for files modified or deleting or nothing for files added. The
> added files should be shown as untracked and modified files should be
> shown as modified.
Sorry for the noise, but hold off on this patch. It will be joining
a larger series involving getting 'git reset' working with the sparse
index.
Thanks,
-Stolee
prev parent reply other threads:[~2021-09-28 20:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-28 15:20 [PATCH] reset: behave correctly with sparse-checkout Derrick Stolee via GitGitGadget
2021-09-28 20:20 ` Derrick Stolee [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bd7d6515-e1ca-9646-5e73-5594d7991ec3@gmail.com \
--to=stolee@gmail.com \
--cc=derrickstolee@github.com \
--cc=git@vger.kernel.org \
--cc=gitgitgadget@gmail.com \
--cc=gitster@pobox.com \
--cc=kewillf@microsoft.com \
--cc=newren@gmail.com \
--cc=vdye@github.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.