From: Marko Macek Date: Sun, 07 Oct 2007 06:12:27 GMT Subject: Re: Question about "git commit -a" Message-ID: <470878CB.2010609@gmx.net> In-Reply-To: <20071005211011.GB25125@potapov> Dmitry Potapov wrote: > You don't. Even with 'commit -a' there is no guarantee that the > result will compile, because you can forget to add a new file. Actually, it would be a good idea for commit to report an error if there are any new files that have not been 'added' or 'ignored' (or even if there are missing files that have not been 'deleted'. Perhaps I'll add this to my git wrapper scripts. Even for normal git-commit it might be nice to report an error if there are any unstaged files unless -a or -i option is specified. Mark