1. 18 1月, 2018 1 次提交
  2. 07 12月, 2017 13 次提交
  3. 28 11月, 2017 2 次提交
  4. 27 11月, 2017 6 次提交
  5. 26 11月, 2017 1 次提交
  6. 21 11月, 2017 10 次提交
  7. 18 11月, 2017 2 次提交
  8. 17 11月, 2017 2 次提交
  9. 16 11月, 2017 2 次提交
  10. 15 11月, 2017 1 次提交
    • E
      merge-recursive: handle addition of submodule on our side of history · c641ca67
      Elijah Newren 提交于
      The code for a newly added path assumed that the path was a normal file,
      and thus checked for there being a directory still being in the way of
      the file.  Note that since unpack_trees() does path-in-the-way checks
      already, the only way for there to be a directory in the way at this
      point in the code, is if there is some kind of D/F conflict in the merge.
      
      For a submodule addition on HEAD's side of history, the submodule would
      have already been present.  This means that we do expect there to be a
      directory present but should not consider it to be "in the way"; instead,
      it's the expected submodule.  So, when there's a submodule addition from
      HEAD's side, don't bother checking the working copy for a directory in
      the way.
      Signed-off-by: NElijah Newren <newren@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c641ca67