diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-08-16 16:52:03 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-28 11:51:17 -0700 |
commit | 6a3bbb4db409c5417960ffd3f020f75e0cb36f81 (patch) | |
tree | 0b2513653866fe9449b53b207ea1ba17e3c1ac43 /utf8.c | |
parent | 3125fe528b65c1e4a4f5f934d056af342ab5472d (diff) | |
download | git-6a3bbb4db409c5417960ffd3f020f75e0cb36f81.tar.gz |
shallow: only add shallow graft points to new shallow file
for_each_commit_graft() goes through all graft points, and shallow
boundaries are just one special kind of grafting.
If $GIT_DIR/shallow and $GIT_DIR/info/grafts are both present,
write_shallow_commits() may catch both sets, accidentally turning
some graft points to shallow boundaries. Don't do that.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'utf8.c')
0 files changed, 0 insertions, 0 deletions