Re: [PATCH] Enter interactive mode if no parameters are given to git-add
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Dec 19, 2006, 16:42 UTC
- Message-ID
- <em94l8$n8u$1@sea.gmane.org>
- In-Reply-To
- <200612191516.09606.andyparkins@gmail.com>
<opublikowany i wysłany>
Andy Parkins wrote:
Show 12 quoted lines
> gmane.comp.version-control.git > git-add with no parameters previously adds every modified file. This > patch instead makes git-add enter interactive mode. > > Signed-off-by: Andy Parkins <andyparkins@gmail.com> > --- > This patch is against pu. > > It seemed a bit nasty to add content without explicit instructions to do > so. Instead, just drop into interactive mode, which they can easily get out > of if it was all a big accident, and additionally is quicker than typing > --interactive.
Hmmm... --interactive is not documented, and neither is --all (erm, I think git add -all oatch was not yet added).
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git