Allow .git/config whose last line does not end in LF
commit44c411f6c4fb62e4926ddc8dd2e6ad56278d44dd
authorShawn O. Pearce <spearce@spearce.org>
Tue, 13 May 2008 02:10:17 +0000 (12 22:10 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 17 May 2008 03:59:49 +0000 (16 23:59 -0400)
tree03d382ad9cbf1e404195883ad6495b5382c91920
parentfa942aab13c2598f26cec7ca692aefc6e6321504
Allow .git/config whose last line does not end in LF

If the .git/config file's last line contains a value but the value
ends at the end of file and not with an LF we should still be able
to read the option from the file without throwing an exception back
at the application.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/RepositoryConfig.java