summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-03-31 18:37:33 +0300
committerytti <saku@ytti.fi>2015-03-31 18:37:33 +0300
commit260e050c35db0a83590b71ae9f331e9e6f1447ba (patch)
tree9fadf31f191f4754f3c2e31c84c699ab40876972
parentff43ef0e434c464adbdea66212edce67319d8af7 (diff)
parent83289c09262a7b248826edfde37c2a8a30baf4c0 (diff)
Merge pull request #98 from MrRJ45/patch-2
Some Git libraries cant see initial commit
-rw-r--r--lib/oxidized/output/git.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb
index d5eb8e7..e9256e8 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