Add a library function to add an alternate to the alternates file
authorDaniel Barkalow <barkalow@iabervon.org>
Thu, 17 Apr 2008 23:32:30 +0000 (19:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 May 2008 00:41:44 +0000 (17:41 -0700)
commitbef70b22ba63d71c1ae2e070e64ff9863ea1ad14
treec8f02795dc1d86cb5459d034604896d8b3a76ac8
parentea3cd5c7c63fadacd66c364ae4b8c6d01e5809b1
Add a library function to add an alternate to the alternates file

This is in the core so that, if the alternates file has already been
read, the addition can be parsed and put into effect for the current
process.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
sha1_file.c