Nguyễn Thái Ngọc Duy pclo...@gmail.com writes:
The two possible fixes which I see are:
1) Replace back if (alternate_shallow_file) condition in fetch pack with
if (args-depth 0)
2) alternate_shallow_file should be copy of shallow_lock.filename not a
reference to it
fetch_pack() can remove .git/shallow file when a shallow repository
becomes a full one again. This behavior is triggered incorrectly when
tags are also fetched because fetch_pack() will be called twice. At
the first fetch_pack() call:
- shallow_lock is set up
- alternate_shallow_file points to
2 matches
Mail list logo