Code

Transitively read alternatives
authorMartin Waitz <tali@admingilde.org>
Sun, 7 May 2006 18:19:21 +0000 (20:19 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 7 May 2006 22:41:35 +0000 (15:41 -0700)
commitc2f493a4ae159ef99b20be490ae603cd13bab4eb
tree2ee8bdd123760135f7a87475a2d369877899ff3c
parentfd60acaced6de16ebfb66959067e2b29f99a133e
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>
sha1_file.c