diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2015-08-25 17:30:46 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-25 09:39:08 -0700 |
commit | 82fde87ff3be8d10854df18964e5816417a1d7cf (patch) | |
tree | 673846bd0ae86a2647ad95269572c2401a65d558 /test-config.c | |
parent | Git 2.5 (diff) | |
download | tgif-82fde87ff3be8d10854df18964e5816417a1d7cf.tar.xz |
setup: update the right file in multiple checkouts
This code is introduced in 23af91d (prune: strategies for linked
checkouts - 2014-11-30), and it's supposed to implement this rule from
that commit's message:
- linked checkouts are supposed to keep its location in $R/gitdir up
to date. The use case is auto fixup after a manual checkout move.
Note the name, "$R/gitdir", not "$R/gitfile". Correct the path to be
updated accordingly.
While at there, make sure I/O errors are not silently dropped.
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 'test-config.c')
0 files changed, 0 insertions, 0 deletions