Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-cvsexportcommit.perl: git-apply no longer needs --binary
author
Michael Witten
<mfwitten@mit.edu>
Tue, 16 Oct 2007 08:08:14 +0000
(
04:08
-0400)
committer
Shawn O. Pearce
<spearce@spearce.org>
Wed, 17 Oct 2007 02:48:20 +0000
(22:48 -0400)
Signed-off-by: Michael Witten <mfwitten@mit.edu>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-cvsexportcommit.perl
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
fd499bc
)
diff --git
a/git-cvsexportcommit.perl
b/git-cvsexportcommit.perl
index 6b0123c75f261744324e678ef76fcc8778a606fc..7a955d4530611674c1d6650ce00dd4ff65cf15bc 100755
(executable)
--- a/
git-cvsexportcommit.perl
+++ b/
git-cvsexportcommit.perl
@@
-129,7
+129,7
@@
print "Checking if patch will apply\n";
my @stat;
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=<APPLY>;
close APPLY || die "Cannot patch";
my (@bfiles,@files,@afiles,@dfiles);
@stat=<APPLY>;
close APPLY || die "Cannot patch";
my (@bfiles,@files,@afiles,@dfiles);
@@
-215,7
+215,7
@@
}
print "Applying\n";
}
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;
print "Patch applied successfully. Adding new files and directories to CVS\n";
my $dirtypatch = 0;