lib/git_store.rb
def load
    if @head = read_head
      commit = get_object(head)[0]
      root.id = commit.split(/[ \n]/, 3)[1].strip
      root.data = get_object(root.id)[0]
      root.load_from_store
    end
  end
# Load the current head version from repository. 
Load the current head version from repository.
Load the current head version from repository .
def load
    if @head = read_head
      commit = get_object(head)[0]
      root.id = commit.split(/[ \n]/, 3)[1].strip
      root.data = get_object(root.id)[0]
      root.load_from_store
    end
  end
def load if @head = read_head commit = get_object ( head ) [ 0 ] root . id = commit . split ( / [  \n ] / , 3 ) [ 1 ] . strip root . data = get_object ( root . id ) [ 0 ] root . load_from_store end end
Load the current head version from repository.
Load the current head version from repository .