diff options
author | Saku Ytti <saku@ytti.fi> | 2013-04-21 17:08:37 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2013-04-21 17:08:37 +0300 |
commit | f715a419196c65ee0cc3b7d9e346aa2512c0cd21 (patch) | |
tree | 60b49fe2418eb15c5dd469cba5286b93f2b8f589 /lib/oxidized/output/git.rb | |
parent | 5a4d2ce1a0380a47e51a9c7aa248e82a5ba5cd39 (diff) |
rename 'update' to 'store'
'store' is more logical, as we cannot know if output method guarantees
any version history which 'update' implies.
Diffstat (limited to 'lib/oxidized/output/git.rb')
-rw-r--r-- | lib/oxidized/output/git.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb index 019d83b..202893c 100644 --- a/lib/oxidized/output/git.rb +++ b/lib/oxidized/output/git.rb @@ -19,7 +19,7 @@ class Git < Output end end - def update file, data, opt={} + def store file, data, opt={} msg = opt[:msg] user = (opt[:user] or @cfg[:user]) email = (opt[:email] or @cfg[:email]) |