Permalink
Browse files

Minor head(tag) improvement

  • Loading branch information...
Yurii Rashkovskii
Yurii Rashkovskii committed May 26, 2008
1 parent d44b4b0 commit 732be10a93d96226272063070baba2e037a1f1a4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/strokedb/stores/file_storage.rb
@@ -1,7 +1,7 @@
module StrokeDB
def self.head(tag="master")
- Util.sha1_uuid(tag).to_raw_uuid
+ Util.sha1_uuid("head:#{tag}").to_raw_uuid
end
RAW_MASTER_HEAD_VERSION_UUID = head()

0 comments on commit 732be10

Please sign in to comment.