Re: Why doesn't git commit -a track new files
On Thu, Feb 24, 2011 at 04:54:02PM +0100, Michael J Gruber wrote:
Show 7 quoted lines
> > But as you mentioned, it is sadly not as trivial as just adding a new
> > way to call "git add". So I think nobody has simply cared enough to
> > implement it to date.
>
> How about this program:
>
> - refactor add, commit to share the "add parts"
> - homogenize interface: replace "add -u" by "add -a" (hidden
> compatibility thingy of course)
> - hom. interface: allow "-a pathspec" for commit
What would it do? It would just behave like "git commit -i pathspec"?
> - have commit -A
> Oh, and do "commit -n" what one would expect [1.8.0] :)
Yeah, I like that, too.
Are you volunteering to work on it all? :)
-Peff