title: Why is BFG changing my latest commit?
body: <p><code>git filter-branch</code> was taking a long time. Happily, I found <a href="https://rtyley.github.io/bfg-repo-cleaner/" rel="nofollow">BFG repo-cleaner</a>.</p>
  
  <p>But it is unexpectedly changing the contents of my last commit.</p>
  
  <pre><code>$ git clone --mirror example.com:/repo.git
  $ cd repo.git
  $ git log HEAD^!
  commit 5f737d28756d4854d25899632abffe7cca2c7423
  Author: Paul Draper &lt;paul@example.com&gt;
  Date:   Sat Jan 24 19:31:47 2015 -0700
  
      Fix /contact and /folderEntries/listFoldersSimple
  $ git diff --stat HEAD^!
   cake/app/controllers/folder_entries_controller.php |     1 +
  </code></pre>
  
  <p>And now I clean.</p>
  
  <pre><code>$ java -jar ~/bfg-1.12.0.jar -b 1M
  ...
  In total, 161797 object ids were changed. Full details are logged here:
  ...
  $ git log HEAD^!
  commit 3ff700cebe32497423435b416ea11169b7fcbf90
  Author: Paul Draper &lt;paul@example.com&gt;
  Date:   Sat Jan 24 19:31:47 2015 -0700
  
      Fix /contact and /folderEntries/listFoldersSimple
  
  
      Former-commit-id: 5f737d28756d4854d25899632abffe7cca2c7423
  $ git diff --stat HEAD^!
       cake/app/controllers/folder_entries_controller.php |     1 +
   .../lucidchart-tools/caja/ant-jars/guava-r09.jar   |   Bin 0 -&gt; 1141964 bytes
   .../caja/ant-jars/guava-r09.jar.REMOVED.git-id     |     1 -
   cake/app/lucidchart-tools/caja/ant-jars/js.jar     |   Bin 0 -&gt; 1122370 bytes
   .../caja/ant-jars/js.jar.REMOVED.git-id            |     1 -
   .../lucidchart-tools/caja/ant-jars/pluginc-src.jar |   Bin 0 -&gt; 5172676 bytes
   .../caja/ant-jars/pluginc-src.jar.REMOVED.git-id   |     1 -
   .../app/lucidchart-tools/caja/ant-jars/pluginc.jar |   Bin 0 -&gt; 2959487 bytes
   .../caja/ant-jars/pluginc.jar.REMOVED.git-id       |     1 -
   .../lucidchart-tools/caja/ant-jars/xercesImpl.jar  |   Bin 0 -&gt; 1229125 bytes
   .../caja/ant-jars/xercesImpl.jar.REMOVED.git-id    |     1 -
   cake/app/lucidchart-tools/jsdoc/rhino/js.jar       |   Bin 0 -&gt; 1111429 bytes
   .../jsdoc/rhino/js.jar.REMOVED.git-id              |     1 -
   cake/app/lucidchart-tools/selenium/chromedriver    |   Bin 0 -&gt; 5778064 bytes
   .../selenium/chromedriver.REMOVED.git-id           |     1 -
   .../selenium/selenium-server-standalone-2.37.0.jar |   Bin 0 -&gt; 34730734 bytes
   ...ium-server-standalone-2.37.0.jar.REMOVED.git-id |     1 -
   .../selenium-server-standalone-2.42.2-mod.jar      |   Bin 0 -&gt; 34873583 bytes
   ...server-standalone-2.42.2-mod.jar.REMOVED.git-id |     1 -
   .../selenium/selenium-server-standalone-2.42.2.jar |   Bin 0 -&gt; 34823352 bytes
   ...ium-server-standalone-2.42.2.jar.REMOVED.git-id |     1 -
   .../lucidchart-tools/test-runner-1.0-SNAPSHOT.jar  |   Bin 0 -&gt; 9732125 bytes
   .../test-runner-1.0-SNAPSHOT.jar.REMOVED.git-id    |     1 -
   .../CommandLine/Scaffolders/DefaultScaffolder.phar |   Bin 0 -&gt; 4404199 bytes
   .../DefaultScaffolder.phar.REMOVED.git-id          |     1 -
   .../WebPICmdLine/Microsoft.Web.Deployment.dll      |   Bin 0 -&gt; 1201991 bytes
   .../Microsoft.Web.Deployment.dll.REMOVED.git-id    |     1 -
   cake/app/vendors/aws.phar                          |   Bin 0 -&gt; 6784935 bytes
   cake/app/vendors/aws.phar.REMOVED.git-id           |     1 -
   .../tcpdf/fonts/dejavu-fonts-ttf-2.33/status.txt   |  6657 +++++
   .../status.txt.REMOVED.git-id                      |     1 -
   cake/app/vendors/tcpdf/tcpdf.php                   | 28808 +++++++++++++++++++
   cake/app/vendors/tcpdf/tcpdf.php.REMOVED.git-id    |     1 -
   .../img/onboarding-chart/04_shape manager.gif      |   Bin 0 -&gt; 1413721 bytes
   .../04_shape manager.gif.REMOVED.git-id            |     1 -
   cake/app/webroot/img/onboarding-chart/05_share.gif |   Bin 0 -&gt; 1341876 bytes
   .../onboarding-chart/05_share.gif.REMOVED.git-id   |     1 -
   .../js/closure/usage/rhino/javadoc/index-all.html  | 12027 ++++++++
   .../rhino/javadoc/index-all.html.REMOVED.git-id    |     1 -
   cake/app/webroot/js/closure/usage/rhino/js-14.jar  |   Bin 0 -&gt; 1471932 bytes
   .../closure/usage/rhino/js-14.jar.REMOVED.git-id   |     1 -
   cake/app/webroot/js/closure/usage/rhino/js.jar     |   Bin 0 -&gt; 1134765 bytes
   .../js/closure/usage/rhino/js.jar.REMOVED.git-id   |     1 -
   .../js/closure/usage/rhino/testsrc/tests.tar.gz    |   Bin 0 -&gt; 1778543 bytes
   .../rhino/testsrc/tests.tar.gz.REMOVED.git-id      |     1 -
   cake/app/webroot/js/mathquill/font/Symbola.svg     |  5102 ++++
   .../js/mathquill/font/Symbola.svg.REMOVED.git-id   |     1 -
   .../webroot/js/templates/SoyToJsSrcCompiler.jar    |   Bin 0 -&gt; 2154164 bytes
   .../SoyToJsSrcCompiler.jar.REMOVED.git-id          |     1 -
   cake/app/webroot/persona-pages/img/gif-v3.gif      |   Bin 0 -&gt; 1570363 bytes
   .../persona-pages/img/gif-v3.gif.REMOVED.git-id    |     1 -
   .../webroot/persona-pages/img/interactive-gif.gif  |   Bin 0 -&gt; 1434134 bytes
   .../img/interactive-gif.gif.REMOVED.git-id         |     1 -
   cake/build/closure/compiler.jar                    |   Bin 0 -&gt; 6007184 bytes
   cake/build/closure/compiler.jar.REMOVED.git-id     |     1 -
   .../lucidchart-mobile-sliders-landscape-4.png      |   Bin 0 -&gt; 1718536 bytes
   ...t-mobile-sliders-landscape-4.png.REMOVED.git-id |     1 -
   .../lucidchart-mobile-sliders-portrait-4.png       |   Bin 0 -&gt; 1614308 bytes
   ...rt-mobile-sliders-portrait-4.png.REMOVED.git-id |     1 -
   .../Versions/A/OCHamcrestIOS                       |   Bin 0 -&gt; 3671740 bytes
   .../Versions/A/OCHamcrestIOS.REMOVED.git-id        |     1 -
   .../OCMockitoIOS.framework/Versions/A/OCMockitoIOS |   Bin 0 -&gt; 1299132 bytes
   .../Versions/A/OCMockitoIOS.REMOVED.git-id         |     1 -
   .../Versions/A/CrashReporter                       |   Bin 0 -&gt; 1432156 bytes
   .../Versions/A/CrashReporter.REMOVED.git-id        |     1 -
   chart-ios/libFlurry_6.0.0.a                        |   Bin 0 -&gt; 3819300 bytes
   chart-ios/libFlurry_6.0.0.a.REMOVED.git-id         |     1 -
   67 files changed, 52595 insertions(+), 33 deletions(-)
  </code></pre>
  
  <p>All of these extra files are ones that I want removed.</p>
  
  <p>Why are all these files being changed in my latest commit?</p>