Update and cleanup core commit code
commit8effeef11e69cb774b96fbf05d19d71140b8699a
authorMarco Costalba <mcostalba@gmail.com>
Fri, 4 Jan 2008 10:47:00 +0000 (4 11:47 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 4 Jan 2008 10:47:00 +0000 (4 11:47 +0100)
tree4357352efd0e35f6d0dd3f03ba18481b485e6c2d
parent2360cbbb704563913aeb91f05e0563bd32028507
Update and cleanup core commit code

It's time to update this very old part of code.

Problem is that it still relies on plumbing git commands
as 'git update-index' or 'git read-tree'.

This patch restructures the commit code to use newer and
officialy suggested 'git add', 'git rm' and 'git reset'
to update the index with the paths to commit.

As a side effect the code is much more clean now.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/git.cpp