From: Johannes Schindelin Date: Thu, 15 Nov 2007 16:37:46 GMT Subject: Re: [PATCH] builtin-commit: fix "git add x y && git commit y" committing x, too Message-ID: In-Reply-To: Hi, On Thu, 15 Nov 2007, Johannes Schindelin wrote: > > Earlier, builtin commit would implicitly commit also the staged > changes. > > This patch fixes that. This was only lightly tested. Alas, there is still a subtle bug... the generated "Untracked/Staged/ToBeCommitted" list seems off. I guess we'd have to reread the index after resetting it to HEAD and adding the files, but before generating that commit message. Ciao, Dscho