From: Jakub Narebski Date: Tue, 16 Jan 2007 00:51:39 GMT Subject: Re: Importing from tarballs; add, rm, update-index? Message-ID: In-Reply-To: Daniel Barkalow wrote: > On Sun, 14 Jan 2007, Shawn O. Pearce wrote: > >> I commit often directly from the command line. >> >> But yes, you're right. If I actually started my editor its right >> there in the commit message template. Easy enough to quit without >> writing the file, add the new files, and restart the commit. > > An config option to prohibit committing with untracked files should be > easy to add. If your workflow is such that incorrect commits are sometimes > generated given either policy, the system should ask you which you mean. Not a config option. Pre-commit hook should be enough. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git