From 6523bde25505cf05dce0c72b8f01a398f444f10c Mon Sep 17 00:00:00 2001 From: root Date: Wed, 10 Jun 2015 10:15:49 +0200 Subject: add update for a node in log file --- lib/oxidized/output/git.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/oxidized/output') 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 -- cgit v1.2.1