diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb
index <HASH>..<HASH> 100644
--- a/lib/oxidized/output/git.rb
+++ b/lib/oxidized/output/git.rb
@@ -99,6 +99,7 @@ class Git < Output
         :parents    => repo.empty? ? [] : [repo.head.target].compact,
         :update_ref => 'HEAD',
       )
+      index.write
     end
   end
 end
Some Git libraries cant see initial commit

Using some libraries, in this case pygit2 the initial commit cannot be seen, a change and new commit fixes this.



Adding index.write appears to be a simple fix, as confirmed in this rugged issue:



<URL>