diff options
| author | Paul Buetow <paul@buetow.org> | 2019-04-27 14:58:29 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2019-04-27 14:58:29 +0100 |
| commit | 488ff3426015fc13d86f62e36c034e5a040716a4 (patch) | |
| tree | b74f44d84575a2dddf83e78272f25c915a9e05dd | |
| parent | 4971ea397b3384d5c6bd5e11313ffd9ad9ff100f (diff) | |
| parent | 843070e0e6ab0de4a4cd6b14a465e283545d7801 (diff) | |
Merge branch 'master' of dv.buetow.org:/opt/git/geheim
| -rwxr-xr-x | geheim.rb | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -275,9 +275,10 @@ class Geheim destination_file = File.basename(index.description) data = index.get_data data.export(destination_file: destination_file) - external_file = external_edit(file: destination_file) - data.reimport_after_export - shred_file(file: external_file) + edited_file = edit_exported(file: destination_file) + data.import(source_file: edited_file) + data.commit(force: true) + shred_file(file: edited_file) end end end |
