Skip to content

Commit

Permalink
JENKINS-33084
Browse files Browse the repository at this point in the history
  • Loading branch information
klimas7 committed Mar 22, 2016
1 parent 5e50160 commit bb26f5d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -314,7 +314,7 @@ public Map<String, String> generateContents(AbstractProject<?, ?> project, GitSC

long time = -System.currentTimeMillis();

FetchCommand fetch = newgit.fetch_().from(remoteURL, repository.getFetchRefSpecs());
FetchCommand fetch = newgit.fetch_().prune().from(remoteURL, repository.getFetchRefSpecs());
fetch.execute();

LOGGER.finest("Took " + (time + System.currentTimeMillis()) + "ms to fetch");
Expand Down

0 comments on commit bb26f5d

Please sign in to comment.