Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
git快速导出期间修改文件中的SHA_Git_Plasticscm - Fatal编程技术网

git快速导出期间修改文件中的SHA

git快速导出期间修改文件中的SHA,git,plasticscm,Git,Plasticscm,我正在给Git到Plastic SCM的进口商写信,我发现了一个我不知道的案例: M 100644 :31624 activesupport/lib/active_support/core_ext/array/conversions.rb M 100644 :31625 activesupport/lib/active_support/vendor.rb M 160000 70ab0f3cc5921cc67e09741939a08b2582d707cb activesupport/lib/act

我正在给Git到Plastic SCM的进口商写信,我发现了一个我不知道的案例:

M 100644 :31624 activesupport/lib/active_support/core_ext/array/conversions.rb
M 100644 :31625 activesupport/lib/active_support/vendor.rb
M 160000 70ab0f3cc5921cc67e09741939a08b2582d707cb activesupport/lib/active_support/vendor/i18n-0.0.1
如您所见,最后一个元素(通过Git repo本身的快速导出导出)输入一个blob而不是一个标记。为什么会这样?有没有办法“强制”将所有对象导出为标记


感谢

在git树中,
1600000
的文件模式表示在本例中,
activesupport/lib/active\u support/vendor/i18n-0.0.1
是一个子模块。子模块存储在树中,作为子模块应该位于的提交的对象名(即SHA1sum),这是您在输出中看到的值。
fast export
输出的内容足以让
fast import
重建树,以便新存储库中的
git子模块更新--init
将子模块初始化并更新为正确的版本。恐怕我不确定您的traget SCM中是否有与git子模块等效的概念