Re: git-commit: select which files to commit while editing the commit message
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Dec 9, 2006, 00:07 UTC
- Message-ID
- <elcujo$g61$1@sea.gmane.org>
- In-Reply-To
- <m2lkli9bwv.fsf@ziti.local>
Seth Falcon wrote:
Show 17 quoted lines
> Josef Weidendorfer <Josef.Weidendorfer@gmx.de> writes: > >> On Friday 08 December 2006 21:45, Luben Tuikov wrote: >>> This is how perforce does it*, and while it is useful, git is NOT perforce, >>> and I agree with Junio and Jakub. >> >> However, the idea itself is not bad. AFAIK, cogito does it this way. >> It could be done as separate command, e.g. "git add --interactive", >> and would only update the index. > > I think such a feature could be quite useful and it would seem to be > an easy thing to provide in an optional or configurable fashion so > that those that don't like it could avoid it. > > Spelling out a bunch of files spread around your tree for update-index > can be annoying. Some way of marking a list seems natural. Maybe > that is a separate issue.
Perhaps git-commit should also accept --exclude=<pattern> option? Would that help?
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git