public
Description: StrokeDB is an embeddable distributed document database written in Ruby
Homepage: http://strokedb.com/
Clone URL: git://github.com/yrashk/strokedb.git
Minor head(tag) improvement
yrashk (author)
Mon May 26 13:05:14 -0700 2008
commit  732be10a93d96226272063070baba2e037a1f1a4
tree    3a3c17950e942abe11245e38a742362d0672d7ba
parent  d44b4b0fde070a9f0c26fdd5f31c05a043286a63
...
1
2
3
4
 
5
6
7
...
1
2
3
 
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 module StrokeDB
0
   
0
   def self.head(tag="master")
0
-    Util.sha1_uuid(tag).to_raw_uuid
0
+    Util.sha1_uuid("head:#{tag}").to_raw_uuid
0
   end
0
   
0
   RAW_MASTER_HEAD_VERSION_UUID         = head()

Comments