Git development
 help / color / mirror / Atom feed
* "fatal: git-write-tree: error building trees" from `git stash`
@ 2012-12-27 18:07 Alex Vandiver
  2012-12-27 18:51 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Vandiver @ 2012-12-27 18:07 UTC (permalink / raw)
  To: git discussion list

  Heya,
I just ran into the following with `git stash`.  The set-up:

        git init
        echo "Initial" > foo
        git add .
        git commit -m 'Initial commit'
        echo "Rewrite" > foo
        git commit -am 'Second commit, rewrites content'
        echo "Stashed changes" >> foo
        git stash
        git co HEAD~
        
$ git stash pop
Auto-merging foo
CONFLICT (content): Merge conflict in foo
Recorded preimage for 'foo'

$ git stash
foo: needs merge
foo: needs merge
foo: unmerged (aeaa7e5e87cf309a7368d5d92a71c1f9e6a8c9e7)
foo: unmerged (a77fa514de2720c72c1a861de098595959a2c97a)
foo: unmerged (4a622d2b991f1a19ba7be313a46dc6f03692cd0a)
fatal: git-write-tree: error building trees
Cannot save the current index state

 - Alex

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-27 20:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27 18:07 "fatal: git-write-tree: error building trees" from `git stash` Alex Vandiver
2012-12-27 18:51 ` Junio C Hamano
2012-12-27 18:55   ` Alex Vandiver
2012-12-27 19:05     ` Jeff King
2012-12-27 20:11       ` Junio C Hamano
2012-12-27 19:21     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox