]> source.dussan.org Git - jgit.git/commit
Speed up handling of "only" paths in the CommitCommand 08/9408/3
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 31 Dec 2012 18:17:19 +0000 (19:17 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 7 Jan 2013 00:08:01 +0000 (01:08 +0100)
commit549034500a55ffc8f401fd73a74d8dc55f096d2f
treec5ed9daa0e47079814560873821ef237f65941b7
parentc2d1183e39174336605509642b6f60157b9e2c3a
Speed up handling of "only" paths in the CommitCommand

Use binary search to reduce the number of lookups for very large number
of paths.

Change-Id: I76a16594b756bffd95298897414485a9cd637819
org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java