On Wednesday 13 December 2006 06:34, Junio C Hamano wrote: > >> > Just as a sidenote: after deciding to not apply hunks, you > >> > lose them in this WIP, as you will find nothing in "unstaged" mode > >> > afterwards :-( > >> > >> I do not understand this part. You can 'revert' to match the > >> index to HEAD and run 'patch' to pick what you want again. > > > > I lost my changes in the working directory; there was nothing to > > pick again any more. > > That's worrysome. By design, "git add" should not touch working > tree at all (only read from there), so if you find cases that > violates it that should be fixed; please let me know. I just tried to reproduce the failure with exact the same hunk I used the first time. I wasn't able to get any wrong result. So perhaps I did something wrong the first time. However, if I see something suspect, I will tell you ;-) Thanks, Josef - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html