diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-08-23 13:48:37 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-08-23 13:48:37 +0100 |
commit | 352ed3605eb2d7d7fc982545bb86034cd5ecc0a7 (patch) | |
tree | 039e90ca9003a5d7972c5c498b91136b7993a534 /examples | |
parent | f031197a57cb8ff67f7454de6ee8a56a27f91d69 (diff) | |
download | clod-352ed3605eb2d7d7fc982545bb86034cd5ecc0a7.tar.gz |
Support changing and insertion/deletion according to clodhopper heuristic
Diffstat (limited to 'examples')
-rw-r--r-- | examples/change-setting.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/change-setting.lua b/examples/change-setting.lua index 0317bce..1c26545 100644 --- a/examples/change-setting.lua +++ b/examples/change-setting.lua @@ -19,9 +19,13 @@ if not conf then error(err) end +-- Change name (should not move) conf.settings.project.name = "Clod" +-- Change head (should not move) conf.settings.project.head = "refs/heads/master" +-- Add description (should appear after head) conf.settings.project.description = "Demonstration of settings" +-- Remove other.thing (will also elide trailing blank line) conf.settings.other.thing = nil io.stdout:write(conf:serialise()) |