aboutsummaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-15 07:10:56 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-16 13:46:47 -0700
commit7b520e62a2738ce776d1c9f11144021ff1fc63b6 (patch)
tree17c0a4cb0206bf8cb6202419908790c8395c4ca1 /git-svn.perl
parent26a8ad25b28a1cb906c88bdf539d840774ca5aeb (diff)
downloadgit-7b520e62a2738ce776d1c9f11144021ff1fc63b6.tar.gz
git-7b520e62a2738ce776d1c9f11144021ff1fc63b6.tar.xz
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 <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl2
1 files changed, 1 insertions, 1 deletions
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;