From: Michael Witten Date: Tue, 16 Oct 2007 08:08:14 +0000 (-0400) Subject: git-cvsexportcommit.perl: git-apply no longer needs --binary X-Git-Tag: v1.5.4-rc0~354 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=54f0db79ca11d08a448e45cfcb6e4304c6d16014;p=git.git git-cvsexportcommit.perl: git-apply no longer needs --binary Signed-off-by: Michael Witten Signed-off-by: Shawn O. Pearce --- diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index 6b0123c75..7a955d453 100755 --- a/git-cvsexportcommit.perl +++ b/git-cvsexportcommit.perl @@ -129,7 +129,7 @@ my $context = $opt_p ? '' : '-C1'; print "Checking if patch will apply\n"; my @stat; -open APPLY, "GIT_DIR= git-apply $context --binary --summary --numstat<.cvsexportcommit.diff|" || die "cannot patch"; +open APPLY, "GIT_DIR= git-apply $context --summary --numstat<.cvsexportcommit.diff|" || die "cannot patch"; @stat=; close APPLY || die "Cannot patch"; my (@bfiles,@files,@afiles,@dfiles); @@ -215,7 +215,7 @@ if ($dirty) { } print "Applying\n"; -`GIT_DIR= git-apply $context --binary --summary --numstat --apply <.cvsexportcommit.diff` || die "cannot patch"; +`GIT_DIR= git-apply $context --summary --numstat --apply <.cvsexportcommit.diff` || die "cannot patch"; print "Patch applied successfully. Adding new files and directories to CVS\n"; my $dirtypatch = 0;