From: Christian Neukirchen Date: Fri, 09 Sep 2016 20:52:36 GMT Subject: Re: git commit -p with file arguments Message-ID: <87inu4bxt7.fsf@juno.home.vuxu.org> In-Reply-To: <23de5ffe-eaf8-2d62-2202-f1bf6087d44b@gmail.com> Jakub Narębski writes: > Which means that with "git add -p && git commit ", > the "git add -p " would carefully craft the state > in the index... and "git commit " would take worktree version > of for commit, ignoring what was in the index :-( > > Currently there is no way to create commit out of subset of the index, > e.g. with "git commit :0:" I played around with creating a new index just for "add -p" and then committing that one. Seems to have worked... Perhaps I'll just wrap git-commit myself then. cu, -- Christian Neukirchen http://chneukirchen.org