git add --intent-to-add + git stash "Cannot save the current worktree state"
- From
Anthony Sottile <asottile@umich.edu>
- Date
- Jan 3, 2019, 20:46 UTC
- Message-ID
- <CA+dzEBmh4LdN-XFS9y9YKrDMzV_7+QpDzBA2uv9Xi80PgR5NTQ@mail.gmail.com>
Minimal reproduction
``` git init t git -C t commit --allow-empty -m 'initial commit' touch t/a git -C t add --intent-to-add a git -C t stash ```
``` + git init t Initialized empty Git repository in /private/tmp/t/t/.git/ + git -C t commit --allow-empty -m 'initial commit' [master (root-commit) 858132e] initial commit + touch t/a + git -C t add --intent-to-add a + git -C t stash error: Entry 'a' not uptodate. Cannot merge. Cannot save the current worktree state ```
Anthony