Re: git-commit: select which files to commit while editing the commit message

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jakub Narebski <jnareb@...>, <git@...>
Date: Friday, December 8, 2006 - 4:45 pm

--- Jakub Narebski <jnareb@gmail.com> wrote:

I raise the same objection as Junio.

This is how perforce does it*, and while it is useful, git is NOT perforce,
and I agree with Junio and Jakub.

If you want to commit only few files, update the index for only
the ones you want to commit.  If you did update the index for all
of them, "git-read-tree -m -i HEAD" is your friend.

    Luben

* The reason being is that there is no "index-cache" and the commit
message needs to be scanned to determine which of the edited files
you actually intend to commit to the server at this time.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git-commit: select which files to commit while editing t..., Luben Tuikov, (Fri Dec 8, 4:45 pm)
Re: git-commit: select which files to commit while editing t..., Josef Weidendorfer, (Fri Dec 8, 6:10 pm)