]> source.dussan.org Git - jgit.git/commit
Handle content length in WorkingTreeIterator 12/5412/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 25 Mar 2012 12:42:54 +0000 (14:42 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 26 Mar 2012 22:47:17 +0000 (00:47 +0200)
commit3f4725c179c176560937d756682fcd6cfbf685fe
tree74c5cf2abb65e68d48261da3022c2021b81454f9
parente0531ace35b9c8eca9ded0a7b1540de3c49dbde6
Handle content length in WorkingTreeIterator

Content length is computed and cached (short term) in the working
tree iterator when core.autocrlf is set.

Hopefully this is a cleaner fix than my previous attempt to make
autocrlf work.

Change-Id: I1b6bbb643101a00db94e5514b5e2b069f338907a
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/AddCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/AddCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/StashCreateCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/diff/ContentSource.java
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java