From: Eric Wong Date: Sat, 15 Jul 2006 14:10:56 +0000 (-0700) Subject: git-svn: don't check for migrations/upgrades on commit-diff X-Git-Tag: v1.4.2-rc1~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7b520e62a2738ce776d1c9f11144021ff1fc63b6;p=git.git git-svn: don't check for migrations/upgrades on commit-diff Unlike other git-svn commands, commit-diff is intended to operate without needing any additional metadata inside .git Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano --- diff --git a/git-svn.perl b/git-svn.perl index 4530ffe42..89ad840db 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -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;