This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit_header = "commit #{length}\000" + body | |
# ... | |
puts 'Success' | |
# `git hash-object -t commit --stdin -w "#{commit}"` | |
Process.exec('git hash-object -t commit --stdin -w', commit) | |
# miner.rb:51:in `exec': string contains null byte (ArgumentError) | |
# from miner.rb:51:in `<main>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/serialize.h b/src/serialize.h | |
index 6e952fa..3acdbc0 100644 | |
--- a/src/serialize.h | |
+++ b/src/serialize.h | |
@@ -808,19 +808,6 @@ public: | |
iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); } | |
void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); } | |
- void insert(iterator it, const_iterator first, const_iterator last) | |
- { |