Matthaus Litteken wrote:
> This is likely due to a change in git's behavior in commit
> https://github.com/git/git/commit/501770e1bb5d132ae4f79aa96715f07f6b84e1f6
> where submodules now have a git file and not a git directory.
Yes, it checks -d. Could you try this patch?
--
see shy jo
diff --git a/pristine-tar b/pristine-tar
index 6db8c47..c75e4fc 100755
--- a/pristine-tar
+++ b/pristine-tar
@@ -528,7 +528,7 @@ sub gendelta {
}
sub vcstype {
- if (-d ".git" ||
+ if (-e ".git" ||
(exists $ENV{GIT_DIR} && length $ENV{GIT_DIR})) {
return 'git';
}