[PATCH 0/1] built-in stash: fix segmentation fault when files were added with intent
- From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Jan 18, 2019, 09:50 UTC
- Message-ID
- <pull.110.git.gitgitgadget@gmail.com>
Git for Windows offered the built-in stash early: in v2.19.0 it was offered as an experimental option, and in v2.20.0 it was enabled by default.
One corner case was identified [https://github.com/git-for-windows/git/issues/2006] and fixed [https://github.com/git-for-windows/git/pull/2008] in the meantime, and this contribution brings it to the Git mailing list (with a commit message that was "lightly edited for clarity", as they say).
This patch applies on top of ps/stash-in-c.
Granted, it fixes a regression in that patch series, but as Paul is busy with University, I would suggest accepting this bug fix on top, just this time, as if we had stash-in-c already in next.
Matthew Kraai (1): stash: fix segmentation fault when files were added with intent
builtin/stash.c | 3 ++- t/t3903-stash.sh | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-)
base-commit: bec65d5b783ef5ce4c655c26ad8f25c04b001dd1 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-110%2Fdscho%2Fstash-ita-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-110/dscho/stash-ita-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/110
-- gitgitgadget