]> source.dussan.org Git - jgit.git/commit
Extract method refactoring in class DirCacheCheckout 70/155670/7
authorAndre Bossert <andre.bossert@siemens.com>
Sun, 12 Jan 2020 16:44:23 +0000 (17:44 +0100)
committerAndre Bossert <andre.bossert@siemens.com>
Mon, 20 Jan 2020 12:53:41 +0000 (13:53 +0100)
commiteca34be43ce3309344cd1ec2914d3201121af893
treecfc7629e2744306882c2340940e39cc06eeb8df7
parentbe49375fb82894775ca5701ba659f0e5995336fc
Extract method refactoring in class DirCacheCheckout

* added new public method getContent()
* changed checkoutEntry() to use the new getContent() method
* changed runExternalFilterCommand() parameter "entry" to "path" to be
independent from DirCacheEntry type
* removed runExternalFilterCommand() parameter "fs" as it can be derived
from repo

Bug: 356832
Change-Id: If8991b74870e0d8728093e98a990f93f1871b76a
Signed-off-by: Andre Bossert <andre.bossert@siemens.com>
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java