Code

convert.c: restructure the attribute checking part.
authorJunio C Hamano <junkio@cox.net>
Sat, 21 Apr 2007 06:44:02 +0000 (23:44 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 21 Apr 2007 18:55:23 +0000 (11:55 -0700)
commit6073ee85719be6d959e74aa667024fcbec44a588
tree479da17d027696feee6ebd3b34ac5aecd74c5da0
parente87b1c943a50af9ab51df20b3419cbffa4e75484
convert.c: restructure the attribute checking part.

This separates the checkattr() call and interpretation of the
returned value specific to the 'crlf' attribute into separate
routines, so that we can run a single call to checkattr() to
check for more than one attributes, and then interprete what
the returned settings mean separately.

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