Files
git/builtin
Eric Sunshine b3b05971c1 clone: support 'clone --shared' from a worktree
When worktree functionality was originally implemented, the possibility
of 'clone --local' from within a worktree was overlooked, with the
result that the location of the "objects" directory of the source
repository was computed incorrectly, thus the objects could not be
copied or hard-linked by the clone. This shortcoming was addressed by
744e469755 (clone: allow --local from a linked checkout, 2015-09-28).

However, the related case of 'clone --shared' (despite being handled
only a few lines away from the 'clone --local' case) was not fixed by
744e469755, with a similar result of the "objects" directory location
being incorrectly computed for insertion into the 'alternates' file.
Fix this.

Reported-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-12-11 16:05:50 -08:00
..
2015-08-24 13:09:02 -07:00
2015-08-31 15:38:52 -07:00
2015-01-14 09:32:04 -08:00
2015-08-31 15:39:10 -07:00
2015-08-31 15:38:52 -07:00
2015-08-25 14:57:09 -07:00
2015-03-20 13:11:53 -07:00
2015-08-25 13:11:21 -07:00
2015-01-14 09:32:04 -08:00
2015-08-31 15:39:05 -07:00
2015-07-13 14:02:02 -07:00
2015-08-25 14:57:09 -07:00
2015-08-03 11:01:10 -07:00
2015-01-14 09:32:04 -08:00
2015-08-31 15:39:03 -07:00