]> source.dussan.org Git - jgit.git/commit
Revert "Quickfix for AutoCRLF handling" 66/5366/1
authorShawn O. Pearce <spearce@spearce.org>
Thu, 15 Mar 2012 14:21:14 +0000 (07:21 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 15 Mar 2012 14:22:24 +0000 (07:22 -0700)
commitff13648ea295bba02ca192c00a39335b05468abe
tree752f455106b746df570ad5c4f7bf529d2ad3b635
parent9be6526e9dbcfaca168dd66caac36a9316d44d88
Revert "Quickfix for AutoCRLF handling"

This reverts commit 88fe2836edab8d8ce82d28acd9d07b061988ff3a.

Auto CRLF isn't special enough to be screwing around with the buffers
used for raw byte processing of the ObjectInserter API. If it needs a
buffer to process a file that is bigger than the buffer allocated by
an ObjectInserter, it needs to do its own buffer management.

Change-Id: Ida4aaa80d0f9f78035f3d2a9ebdde904c980f89a
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