Просмотр исходного кода

Add comment about FETCH_HEAD

tags/v1.0
JustAnotherArchivist 1 год назад
Родитель
Сommit
80995bccde
1 измененных файлов: 1 добавлений и 0 удалений
  1. +1
    -0
      codearchiver/modules/git.py

+ 1
- 0
codearchiver/modules/git.py Просмотреть файл

@@ -58,6 +58,7 @@ class Git(codearchiver.core.Module):
_logger.error(f'Failed to update-ref refs/codearchiver/{branch} to {commit}')
else:
_logger.error(f'Failed to fetch {commit}')
# This leaves over a FETCH_HEAD file, but git-bundle does not care about that, so it can safely be ignored.

_logger.info(f'Collecting repository metadata for index')
_, refs, _ = codearchiver.subprocess.run_with_log(['git', 'show-ref'], cwd = directory)


Загрузка…
Отмена
Сохранить