Brett Randall

Results 159 comments of Brett Randall

https://github.com/javabrett/bfg-repo-cleaner/raw/prune-empty-commits-built/bfg/target/bfg-1.13.1-SNAPSHOT-prune-empty-commits-850d967.jar **Edit**: Updated link with rebased rebuild.

Rebased to current master resolving a small import conflict. Retested with latest Scala-SBT.

@rtyley This is one of the more popular PRs - pruning empty commits: those that BFG creates, and pre-existing ones. I could rebase this again and resolve the conflicts, but...

@Nessworthy I rebuilt that jar from the rebased PR and updated the link above.

> Is it BFG or your PR that makes it real slow the longer it runs? Did you try the same runs on the GA version of BFG, without `--prune-empty-commits`?...

My initial suggestion is to see if you can get some performance stats from JVM instrumentation, see if you can identify any hotspots. Or even take a few thread dumps.

@Vampire - How did you clone the original remote repo? - Assuming that your repo is not shareable and/or too large anyway, could you write a script (as a gist)...

I'm having trouble seeing what is wrong with what is currently-logged - it seems to be working exactly as-designed. I'm also having trouble understanding how your proposed change improves things,...

Is there a reason you aren't using https://github.com/jwiegley/git-scripts/blob/master/git-remove-empty-commits or advice from https://stackoverflow.com/questions/26683792/how-can-i-find-empty-git-commits ? Execution time? Maybe you could use those to pre-filter the mapping-file to remove pruned commits.

> Ok, I learned enough Scala and trusted my beloved IntelliJ to even come up with a patch now. :-) Nice work! If I could be so bold as to...