dtas.git  about / heads / tags
duct tape audio suite for *nix
   commit 0699498e5eb717a351c223e6a5a6a3bd3d3c6cde (patch)
   parent bb011dc dtas 0.13.1 - dtas-tl encoding bugfixes
     tree bc3e23b1a6faad9bc4c28f8d44a480cda47ac669
   author Eric Wong <e@80x24.org>  2016-01-17 23:14:21 +0000
committer Eric Wong <e@80x24.org>  2016-01-17 23:14:21 +0000

doc: update-footer.rb: fix for frozen_string_literal

Oops :x
---
 Documentation/update-footer.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/update-footer.rb b/Documentation/update-footer.rb
index ee6583b..a6e16cb 100755
--- a/Documentation/update-footer.rb
+++ b/Documentation/update-footer.rb
@@ -24,13 +24,13 @@
   File.open(file, "r+") do |fp|
     state = :top
     sections = [ state ]
-    sec = { state => "" }
+    sec = { state => ''.dup }
     fp.each_line do |l|
       case l
       when /^(#.+)$/
         state = $1.freeze
         sections << state
-        sec[state] = ""
+        sec[state] = ''.dup
       else
         sec[state] << l
       end


glossary
--------
Commit objects reference one tree, and zero or more parents.

Single parent commits can typically generate a patch in
unified diff format via `git format-patch'.

Multiple parents means the commit is a merge.

Root commits have no ancestor.  Note that it is
possible to have multiple root commits when merging independent histories.

Every commit references one top-level tree object.

git clone git://80x24.org/dtas.git
git clone https://80x24.org/dtas.git