From: Shawn Pearce Date: Sat, 04 Nov 2006 07:30:00 GMT Subject: Re: Problem with git-apply? Message-ID: <20061104073000.GB9422@spearce.org> In-Reply-To: <20061104072349.GA19667@cubit> Kevin Shanahan wrote: > git apply ../test.diff Try: git apply --index ../test.diff instead. The --index is needed to record the new file in the index; otherwise it won't actually be added during commit. --