add.call(); } catch (NoFilepatternException e) { throw new JGitInternalException(e.getMessage(), e);
throw new NoFilepatternException(JGitText.get().atLeastOnePatternIsRequired); checkCallable(); DirCache dc = null;
} catch (NoFilepatternException e) { throw new JGitInternalException(e.getMessage(), e);
throw new NoFilepatternException(JGitText.get().atLeastOnePatternIsRequired); checkCallable(); DirCache dc = null;
public GitManager deletePaths( final ChangeSummary summary, final Collection<String> paths ) throws GitSubsystemException { lockAnd(me->{ try { RmCommand rm = git.rm(); for ( final String path : paths ) { rm = rm.addFilepattern( path ); } logger.info( "Deleting:\n " + join( paths, "\n " ) + "\n\nSummary: " + summary ); rm.call(); changelogEntries.add( new ChangelogEntry( summary.getUser(), buildMessage( summary, paths ), paths ) ); } catch ( final NoFilepatternException e ) { throw new GitSubsystemException( "Cannot remove from git: " + e.getMessage(), e ); } catch ( final JGitInternalException | GitAPIException e ) { throw new GitSubsystemException( "Cannot remove from git: " + e.getMessage(), e ); } return me; }); return this; }
throw new NoFilepatternException(JGitText.get().atLeastOnePatternIsRequired); checkCallable(); DirCache dc = null;
throw new GitSubsystemException( "Cannot add to git: " + e.getMessage(), e );
throw new NoFilepatternException(JGitText.get().atLeastOnePatternIsRequired); checkCallable(); DirCache dc = null;
add.call(); } catch (NoFilepatternException e) { throw new JGitInternalException(e.getMessage(), e);
throw new NoFilepatternException(JGitText.get().atLeastOnePatternIsRequired); checkCallable(); DirCache dc = null;
add.call(); } catch (NoFilepatternException e) { throw new JGitInternalException(e.getMessage(), e);
throw new NoFilepatternException(JGitText.get().atLeastOnePatternIsRequired); checkCallable(); DirCache dc = null;
} catch (NoFilepatternException e) { throw new JGitInternalException(e.getMessage(), e);
} catch (NoFilepatternException e) { throw new JGitInternalException(e.getMessage(), e);