]> git.ipfire.org Git - thirdparty/git.git/commit - sha1_file.c
Use LF and allow comments in objects/info/alternates file.
authorJunio C Hamano <junkio@cox.net>
Wed, 17 Aug 2005 01:22:05 +0000 (18:22 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 17 Aug 2005 05:22:35 +0000 (22:22 -0700)
commit9577e7e3db2299febdc17539478bba38874d4120
tree6a5f9babb639b0b263f3ec94b81c2446290637eb
parentaf5260ee785b8418c7319a84b1d1a0d26e770ed0
Use LF and allow comments in objects/info/alternates file.

Yes, using the same format for the file and the environment variable
was a big mistake.  This uses LF as the path separator, and allows
lines that begin with '#' to be comments.  ':' is no longer a separator
in objects/info/alternates file.

Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c