git-svn: don't check for migrations/upgrades on commit-diff
authorEric Wong <normalperson@yhbt.net>
Sat, 15 Jul 2006 14:10:56 +0000 (07:10 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 16 Jul 2006 20:46:47 +0000 (13:46 -0700)
Unlike other git-svn commands, commit-diff is intended to
operate without needing any additional metadata inside .git

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl

index 4530ffe42c66713f1dc9e79b3ad62124338405de..89ad840dbf46f722cc0be75b3d6b5f0b6dbf051d 100755 (executable)
@@ -147,7 +147,7 @@ init_vars();
 load_authors() if $_authors;
 load_all_refs() if $_branch_all_refs;
 svn_compat_check() unless $_use_lib;
-migration_check() unless $cmd =~ /^(?:init|rebuild|multi-init)$/;
+migration_check() unless $cmd =~ /^(?:init|rebuild|multi-init|commit-diff)$/;
 $cmd{$cmd}->[0]->(@ARGV);
 exit 0;