git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Next: Johannes Schindelin
Message 1 of 6 in “git add --intent-to-add + git stash "Cannot save the current worktree state"”
  1. Anthony SottileJan 3, 2019
  2. Johannes SchindelinJan 9, 2019
  3. Anthony SottileJan 9, 2019
  4. Johannes SchindelinJan 10, 2019
  5. Anthony SottileJan 10, 2019
  6. Junio C HamanoJan 10, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.