summaryrefslogtreecommitdiff
path: root/lib/oxidized/output/git.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-06-10 15:36:29 +0300
committerytti <saku@ytti.fi>2015-06-10 15:36:29 +0300
commit608044069f2ad369715521c588a9a88f19f245fc (patch)
tree355e3c1be493f880e8f2d046653bb1f712e79b0a /lib/oxidized/output/git.rb
parentcf2b493602045a7b3aad95ea329b1435d184d4e8 (diff)
parent6523bde25505cf05dce0c72b8f01a398f444f10c (diff)
Merge pull request #129 from FlorianDoublet/updateLog
Add log for update at /var/log/oxidized-update for git output
Diffstat (limited to 'lib/oxidized/output/git.rb')
-rw-r--r--lib/oxidized/output/git.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb
index 65cdd18..57b6f62 100644
--- a/lib/oxidized/output/git.rb
+++ b/lib/oxidized/output/git.rb
@@ -104,7 +104,9 @@ class Git < Output
:parents => repo.empty? ? [] : [repo.head.target].compact,
:update_ref => 'HEAD',
)
+
index.write
+ true
end
end
end