threads / patch / 4895

patchgit-svn: don't check for migrations/upgrades on commit-diff

Subject: [PATCH] git-svn: don't check for migrations/upgrades on commit-diff

## tl;dr

One message between Jul 15, 2006 and Jul 15, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Eric Wong· Jul 15, 2006, 14:10 UTC · lore

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>
---
 git-svn.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to git-svn.perl +1 −1
diff --git a/git-svn.perl b/git-svn.perl
index 4530ffe..89ad840 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;
 
-- 
1.4.1.gb805

← back to recent threads