]> source.dussan.org Git - jgit.git/commit
Quickfix for AutoCRLF handling 98/4998/4
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 3 Mar 2012 07:22:48 +0000 (08:22 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 3 Mar 2012 07:22:48 +0000 (08:22 +0100)
commit88fe2836edab8d8ce82d28acd9d07b061988ff3a
tree30ba1b3e4a8f80c818f2b4cb653f7933ff2c2d38
parentf1945cac1da266bd41041c0975777066fcece26b
Quickfix for AutoCRLF handling

CRLF only works for small files, where small is the size of the
buffer, i.e. about 8K. This QD fix reallocates the buffer to be
large enough.

Bug: 369780
Change-Id: Ifc34ad204fbf5986b257a5c616e4a8c601e8261a
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/AddCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsInserter.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ObjectDirectoryInserter.java