author | Martin Waitz <tali@admingilde.org> | |
Sun, 7 May 2006 18:19:21 +0000 (20:19 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 7 May 2006 22:41:35 +0000 (15:41 -0700) | ||
commit | c2f493a4ae159ef99b20be490ae603cd13bab4eb | |
tree | 2ee8bdd123760135f7a87475a2d369877899ff3c | tree | snapshot |
parent | fd60acaced6de16ebfb66959067e2b29f99a133e | commit | diff |
Transitively read alternatives
When adding an alternate object store then add entries from its
info/alternates files, too.
Relative entries are only allowed in the current repository.
Loops and duplicate alternates through multiple repositories are ignored.
Just to be sure that nothing breaks it is not allow to build deep
nesting levels using info/alternates.
Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
When adding an alternate object store then add entries from its
info/alternates files, too.
Relative entries are only allowed in the current repository.
Loops and duplicate alternates through multiple repositories are ignored.
Just to be sure that nothing breaks it is not allow to build deep
nesting levels using info/alternates.
Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c | diff | blob | history |