try {
final LogCommand logCommand = fs.gitRepo().log().add( id ).setMaxCount( 1 );
if ( !gPath.isEmpty() ) {
logCommand.addPath( gPath );
}
revWalk = (RevWalk) logCommand.call();
lastModifiedDate = revWalk.iterator().next().getCommitterIdent().getWhen().getTime();
} catch ( Exception ex ) {
lastModifiedDate = 0;
} finally {
if ( revWalk != null ) {